-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- is related to
-
SERVER-56304 Log time CRUD operations spend waiting for metadata refresh
- Closed