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

Make lock-free multi-acquisitions share the same GlobalLock

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

      Currently each lock free-acquired collection holds a GlobalLock. This means that when acquiring multiple collections in a single acquireCollections() call, the global lock is recursively locked.

      Instead, the global lock should not be recursively locked in this case.

      Note: In case of multiple different calls to acquireCollection(), it is expected that the global lock gets recursively locked

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: