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

acquireCollectionsOrViews should leave snapshot open if in WUOW

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-07-10

      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.

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

              Created:
              Updated:
              Resolved: