Restore invariant in ReplicaSetAwareServiceRegistry destructor that _services is empty

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 2020-10-05
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-49243 removed an invariant in RSASR that all previously registered services have been unregistered by the time the registry is destroyed. This was removed because the changes from SERVER-49243 caused this invariant to start firing in mongo_embedded_test. We should try to understand what actually caused the invariant to start firing, fix the issue, and restore the invariant.

            Assignee:
            Kevin Pulo
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: