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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0, 5.0.0-rc5
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      Service Arch 2021-06-28
    • Linked BF Score:
      135

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            matthew.saltz Matthew Saltz
            Reporter:
            janna.golden Janna Golden
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: