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

File Copy Based Initial Sync needs to keep opCtx, client, and thread coherent.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-11-01

    Description

      We need to hold the global lock across scheduled calls in FileCopyBasedInitialSyncer. Our current method for doing this involves holding RAII objects (GlobalLock) in places other than the stack. GlobalLock holds an _opCtx, and _opCtx are associated with a particular client, which are typically associated with a particular thread. We need to use a different method to keep this lock held.

      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: