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

Implement lock-free version of AutoGetCollectionForRead

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Catalog, Storage
    • Labels:
      None
    • Fully Compatible
    • v4.4, v4.2
    • Execution Team 2020-09-21, Execution Team 2020-10-05, Execution Team 2020-10-19

      Change the AutoGetCollectionForRead class to no longer take collection MODE_IS locks, when flagged to do so, while still performing the same checks and providing the same read semantics.

      The flagging may be done through a special enum constant to be passed to the constructor, or similar approach. The idea is that we can change individual call sites to use lock-free reads or not.

      This ticket probably can only be tested through a unit test or dbtest until at least SERVER-50145 is done.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: