-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 3.6.9, 4.0.4, 4.1.6
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2019-01-14
-
52
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
For testing purposes, currently the config server allows any collection under the config database to become sharded when the testCommands flag has been enabled.
The collection filtering metadata logic however expects config collections to never be sharded and because of this invariants.
We should prohibit any config collections other than the known system ones to ever become sharded, regardless of whether the testCommands flag is enabled.