-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
We've had to add a few checks about a node is in magic restore state (example and example). There are some places where we're checking for both magic restore and shouldRecoverFromOplogAsStandalone. We should try to consolidate the states into a helper function (something like "inRestoreState"), so that the restore state is further abstracted from code that doesn't need to know about it.
- is related to
-
SERVER-88294 Audit references to shouldRecoverFromOplogAsStandalone and add checks for magic restore as needed
- Needs Merge