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

ShardSplitDonorService heap-use-after-free detected

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Hide

      run asan build.

      Show
      run asan build.
    • Server Serverless 2022-03-21
    • 171

    Description

      Added in SERVER-63090, when calling _cleanRecipientStateDoc we need to anchor the service to make sure it is not gone by the time we get out of scope when running on the asyncTry. This is due to the fact that the OpObserver will see that the state document gets deleted and will no longer run the service.
      The solution is to add an anchor since it is missing.

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: