-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Fully Compatible
-
Sharding 2020-11-16
-
0
When Looking for shards cached in ShardRegistry, first apply lookup into non config cached shards, and, only if there is no shard with such ShardId, apply lookup into config shard. Doing this we will take benefit from the fact that _getData method only blocks when any shard structure change has occurred, while for looking for config shards we have to acquire a local mutex in any case.
- is related to
-
SERVER-46202 Implement ShardRegistry on top of ReadThroughCache to make it causally consistent
- Closed