-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Execution Team 2021-11-01, Execution Team 2021-11-15, Execution Team 2021-11-29, Execution Team 2021-12-13, Execution Team 2021-12-27
-
2
This ticket should enable shardCollection() on an existing clustered collection's cluster key to succeed.
Proposed solution details:
All shardKey validation through the CreateCollectionCoordinator must be modified to consider clusteredIndex options whenever present. The options taken from listCollections will be used to construct the clustered collection on participant shards.
- depends on
-
SERVER-61009 Make createIndex a no-op on a cluster key if the collection exists
- Closed
-
SERVER-61374 Support min/max with clustered $hint
- Closed