-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Catalog and Routing
-
ALL
-
v8.0
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.