Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58023

The PrimaryOnlyService should not invariant that _activeInstances is empty when in kPaused

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc5, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v5.0
    • Service Arch 2021-06-28
    • 135

      The PrimaryOnlyService enters kPaused on step down, and the only times we remove an instance (or all instances) from _activeInstances is when we remove a state doc from disk, drop the state collection (neither of which we do on stepdown bc we rebuild using the on disk state), or when we swap out _activeInstances during shutdown and stepUp.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: