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

Remove wait for collection critical section from service entry point

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05

    Description

      Currently, on stale shard version on the shard, if the collection critical section is held, the shard will wait for the critical section to complete and then return stale shard version. This makes tracking the time spent in the critical section and during refreshes harder because there is a wait for the critical section outside of the onShardVersionMismatch function.

      In order to make timing this region simpler, we can remove this extra wait for critical section and rely on those in onShardVersionMismatch.

      Attachments

        Issue Links

          Activity

            People

              allison.easton@mongodb.com Allison Easton
              allison.easton@mongodb.com Allison Easton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: