Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Catalog and Routing
-
ALL
Description
After SERVER-81188 a shardCollection request is parsed using shardsvrCreateCollection parser. This was done to ensure full compatibility between the 2 requests. However, any extra field not allowed in shardCollection could be propagated to shardsvrCreateCollection if the field is present in shardsvrCreateCollection
Make sure to:
- parse the cmdObj using ShardCollection::parse
- remove shardsvrCreateCollection::parse
- set 1 by 1 every field in shardsvrCreateCollection using the corresponding setters.