summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types/shard_collection.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/request_types/shard_collection.idl')
-rw-r--r--src/mongo/s/request_types/shard_collection.idl18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/mongo/s/request_types/shard_collection.idl b/src/mongo/s/request_types/shard_collection.idl
index c35f9e1445b..6c75180db61 100644
--- a/src/mongo/s/request_types/shard_collection.idl
+++ b/src/mongo/s/request_types/shard_collection.idl
@@ -64,14 +64,12 @@ structs:
optional: true
implicitlyCreateIndex:
description: "Creates an index on the shard key pattern if the collection is empty."
- type: bool
- default: true
+ type: optionalBool
enforceUniquenessCheck:
description: >-
Controls whether this command verifies that any unique indexes are prefixed by the shard
key pattern if unique is true. If true then it will verify and if false then it won't.
- type: bool
- default: true
+ type: optionalBool
ConfigsvrShardCollectionRequest:
description: "The request format of the internal shardCollection command on the config server"
@@ -106,14 +104,12 @@ structs:
default: true
implicitlyCreateIndex:
description: "Creates an index on the shard key pattern if the collection is empty."
- type: bool
- default: true
+ type: optionalBool
enforceUniquenessCheck:
description: >-
Controls whether this command verifies that any unique indexes are prefixed by the shard
key pattern if unique is true. If true then it will verify and if false then it won't.
- type: bool
- default: true
+ type: optionalBool
ConfigsvrShardCollectionResponse:
description: "The response format of the internal shardCollection command on the config server"
@@ -160,14 +156,12 @@ structs:
default: true
implicitlyCreateIndex:
description: "Creates an index on the shard key pattern if the collection is empty."
- type: bool
- default: true
+ type: optionalBool
enforceUniquenessCheck:
description: >-
Controls whether this command verifies that any unique indexes are prefixed by the shard
key pattern if unique is true. If true then it will verify and if false then it won't.
- type: bool
- default: true
+ type: optionalBool
ShardsvrShardCollectionResponse:
description: "The response format of the internal shardCollection command on the primary shard"