The work planned as part of ___ (!!ticket needed!!) does NOT currently include protections to ensure peoples' unsaved changes are retained during datacenter switchovers.
This task involves the work with the Editing Team deciding whether they will request that #platform_engineering invest the time and effort to ensure peoples' changes are retained during a data center switchover.
//This conversations that prompted this spike took place on 3 May 2022. Meeting notes can be found here: [Notes - Visual Editor: stashing & porting away from RESTBase](https://docs.google.com/document/d/1lwxxsOmw0DmPLC7FUa79xvwm-JqruPMQV2-UThBrokA/edit#).//
=== Open questions
//馃毀 Still being drafted. 馃毀 //
- [ ] 1. How many people are likely to be impacted if nothing is done to ensure unsaved changes are retained during datacenter switchovers?
- [x] 2. What editing interfaces are impacted? //E.g. all VE-based editing interfaces (DiscussionTools, Content Translation, Structured tasks).//
-- The following interfaces **would be** impacted:
--- The visual editor, //potentially// Section Translation (Language Team), //potentially// Structured Tasks (Growth Team)
-- The following interfaces **would NOT be** impacted:
--- DiscussionTools, Content Translation, 2010 wikitext editor, 2017 wikitext editor
-- Meta:
--- Any interface that loads existing content and tries to save it (modified) later will be impacted because saving changes depends on the server remembering metadata about the existing content when it was loaded. //Note: if nothing is done, the server will NOT "remember" this metadata during a datacenter switchover.//
--- Only edits of HTML content via RESTBase is affected (i.e. not wikitext editors)
- [x] 3. What exactly does "impacted" mean in this context?
-- In this context, "impacted" means if you open an impacted editing interface (see above) //before// or //during// the switchover and try to save an edit at any point thereafter, you will be prevented from doing so (an error message will appear). //Note: upon said error message appearing, you could copy the changes you made, reload the editor, paste the changes into the reloaded editor, and proceed with saving the changes you had attempted to save previously.//
=== Done
- [ ] Answers to all `===Open questions` are documented
- [ ] Consult with the teams that maintain an impacted interface prior to resolving this task