Add support to CollectionSnapshot for locking multiple collections without recursively locking db lock

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When acquiring more than one collection in a sigle acquisition. recursively locking the dbLock (thus the global lock too) would prevent yielding. The existing AutoGetCollection takes care of this by only locking the dbLock once. CollectionSnapshot should follow a similar approach.

              Assignee:
              Jordi Serra Torrens
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: