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

Enforce RSLocalClient::queryOnce does not hold resources with majority read concern

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-08-08, Execution Team 2022-10-17

      RSLocalClient::queryOnce should enforce that no resources are being held if it is called with kMajorityReadConcern.

      invariant(!opCtx->lockState()->isLocked());
      invariant(!opCtx->lockState()->inAWriteUnitOfWork());
      

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: