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

acquireCollectionsOrViews should leave snapshot open if in WUOW

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-07-10

    Description

      In other acquire functions we check

      openSnapshot && !opCtx->lockState()->inAWriteUnitOfWork()

      before abandoning the snapshot. But in acquireCollectionsOrViews we only check openSnapshot. This led to hitting an invariant while working in SERVER-69461.

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: