summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types/sharded_ddl_commands.idl
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2022-03-18 15:23:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-18 17:27:33 +0000
commit2107c9df336901aea91fbc0bd701bea0591b96cf (patch)
tree9b0499c0ee7d963a4b4d00c0d23bbca26a85b596 /src/mongo/s/request_types/sharded_ddl_commands.idl
parentb6688d9a44715e1472c1204c069b635325727715 (diff)
downloadmongo-2107c9df336901aea91fbc0bd701bea0591b96cf.tar.gz
SERVER-64573 Make implicitlyCreateIndex and enforceUniquenessCheck fields optional
Diffstat (limited to 'src/mongo/s/request_types/sharded_ddl_commands.idl')
-rw-r--r--src/mongo/s/request_types/sharded_ddl_commands.idl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl
index 7012ecda814..efc011f637c 100644
--- a/src/mongo/s/request_types/sharded_ddl_commands.idl
+++ b/src/mongo/s/request_types/sharded_ddl_commands.idl
@@ -156,15 +156,13 @@ 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
CreateCollectionResponse:
description: "Response of the create collection command"