On collection_sharding_state, check throughout the code all the calls to getOrphanFilter, check if the call is actually referring to the intended action, and create a new return type that will check wether a document belongs to the current shard.
- is depended on by
-
SERVER-32198 Missing collection metadata on the shard implies both UNSHARDED and "metadata not loaded yet"
- Closed
-
SERVER-45779 Throw Stale Shard Version when collection is unknown on getOwnershipFilter
- Closed