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

Implement lock-free version of AutoGetCollectionForRead

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • Catalog, Storage
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Execution Team 2020-09-21, Execution Team 2020-10-05, Execution Team 2020-10-19

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: