-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:None
-
Sharding
-
ALL
Currently the router checks its cache to see if the collection is sharded, and fails the convertToCapped operation if so. This is incorrect because the router's cache might be stale.
Instead, the router should rely on the shard to check whether the collection is sharded.
The router already attaches shardVersion, but the shard should actually check the shardVersion, which it does not currently do.