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

Restore invariant in ReplicaSetAwareServiceRegistry destructor that _services is empty

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-10-05

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: