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

Remove wait for collection critical section from service entry point

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05

      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.

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

              Created:
              Updated:
              Resolved: