From 0e14fe6935ef5b044deea74d0354356cc84f0fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Jos=C3=A9=20Grillo=20Ramirez?= Date: Thu, 15 Apr 2021 16:01:06 +0200 Subject: SERVER-55551 Add recoverable critical section in create collection path --- .../s/create_collection_coordinator_document.idl | 40 ++-------------------- 1 file changed, 2 insertions(+), 38 deletions(-) (limited to 'src/mongo/db/s/create_collection_coordinator_document.idl') diff --git a/src/mongo/db/s/create_collection_coordinator_document.idl b/src/mongo/db/s/create_collection_coordinator_document.idl index c8c9aa05762..69bf01899cb 100644 --- a/src/mongo/db/s/create_collection_coordinator_document.idl +++ b/src/mongo/db/s/create_collection_coordinator_document.idl @@ -53,45 +53,9 @@ structs: strict: true chained_structs: ShardingDDLCoordinatorMetadata: ShardingDDLCoordinatorMetadata + CreateCollectionRequest: CreateCollectionRequest fields: phase: type: CreateCollectionCoordinatorPhase description: "Coordinator phase." - default: kUnset - shardKeyAlreadyCreated: - type: bool - description: >- - If set then the collection already had the shard key index created when the - command was first invoked. If a step down happens, then the shard index will - not be dropped on the next attempt at startup. - default: false - shardKey: - type: object_owned - description: "The index specification document to use as the shard key." - optional: true - unique: - type: bool - description: "Whether the shard key index should enforce a unique constraint." - optional: true - numInitialChunks: - type: safeInt64 - description: >- - The number of chunks to create initially when sharding an empty collection with - a hashed shard key. - optional: true - presplitHashedZones: - type: bool - description: >- - True if the chunks should be pre-split based on the existing zones when - sharding a collection with hashed shard key. - optional: true - initialSplitPoints: - type: array - description: >- - A specific set of points to create initial splits at, currently used only by - mapReduce. - optional: true - collation: - type: object_owned - description: "The collation to use for the shard key index." - optional: true \ No newline at end of file + default: kUnset \ No newline at end of file -- cgit v1.2.1