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

Fix File Copy Based Initial Sync shutdown and config races

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Replication 2021-11-15, Replication 2021-11-29

    Description

      The File Copy Based Initial Syncer may be shut down via signal during a storage change. This results in a deadlock because the storage change cannot complete until the shutdown opCtx is destroyed, which it never will be. Fixed by doing initial syncer shutdown slightly earlier, before the shutdown opCtx is created.

      Additionally there is a race between config changes and storage change which can cause an invariant.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: