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

PrimaryOnlyService should destroy the old instances before launching async rebuild

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 2022-06-27
    • 33

    Description

      The old instances are destroyed at the end of the call of onStepUp when the stack unwinds, but since the new instances are rebuild asynchronously, there is a very small window where the lifetime of the old instance and new instance can overlap.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: