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

Restore invariant in ReplicaSetAwareServiceRegistry destructor that _services is empty

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

      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@mongodb.com Kevin Pulo
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: