Consolidate restore state into helper function

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: