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

Remove commit handler write to index catalog entry in IndexCatalogImpl::indexBuildSuccess()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc3
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Execution Team 2023-06-12
    • 130

    Description

      This is unsafe to do in an onCommit handler as commit handlers run after the storage transaction committed and the writable collection was published in the CollectionCatalog. This can result in read operations unexpectedly seeing changes to this index entry.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: