-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.0-rc3
-
Component/s: Sharding
-
None
-
Sharding
-
ALL
-
Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)
ShardRegistry::getShard will return nullptr if the shard id is not found. In the steady state, the metadata should never contain a database which references a removed shard, because we drain the shard first and clear the cached metadata. However, in theory, there is a very narrow race condition where a query might be referencing a database entry, which points to a shard, which was just removed.
- duplicates
-
SERVER-23996 ShardRegistry::getShard should return a StatusWith<shared_ptr<Shard>>
- Closed
- is related to
-
SERVER-21896 Chunk metadata will not get refreshed after shard is removed
- Closed