summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/create_collection_coordinator_document.idl
diff options
context:
space:
mode:
authorMarcos José Grillo Ramirez <marcos.grillo@mongodb.com>2021-04-15 16:01:06 +0200
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-19 17:02:04 +0000
commit0e14fe6935ef5b044deea74d0354356cc84f0fa6 (patch)
tree8c8352d44cf3fb7070efe854e987432964d358ef /src/mongo/db/s/create_collection_coordinator_document.idl
parentbbc7fb75ef48ae650124a54b205e0fcf8a646740 (diff)
downloadmongo-0e14fe6935ef5b044deea74d0354356cc84f0fa6.tar.gz
SERVER-55551 Add recoverable critical section in create collection path
Diffstat (limited to 'src/mongo/db/s/create_collection_coordinator_document.idl')
-rw-r--r--src/mongo/db/s/create_collection_coordinator_document.idl40
1 files changed, 2 insertions, 38 deletions
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<object_owned>
- 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