-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07
-
153
Since the plan is to reuse the create collection coordinator machinery for registering unsharded collections in the sharding catalog:
- Ensure that if the unsplitable field is set, then the shard-key specified must be _id: 1 and check that all the following parameters are unset: unique, numInitialChunks, preSplitHashedZones, implicitlyCreateIndex and enforceUniquenessCheck.
- Commit the collection entry with unsplittable:true (flag added under
SERVER-78755).
- depends on
-
SERVER-78755 Add an optional<bool> `unsplittable` field to `config.collection` entries
- Closed
- is depended on by
-
SERVER-79157 Change create collection coordinator to allow sharding unsplittable collections
- Closed
-
SERVER-79160 Track unsharded collections when adding a shard
- Closed
-
SERVER-79177 Create a new test cluster command to create a non splittable collection
- Closed
- is duplicated by
-
SERVER-79177 Create a new test cluster command to create a non splittable collection
- Closed