summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types/sharded_ddl_commands.idl
diff options
context:
space:
mode:
authorAllison Easton <allison.easton@mongodb.com>2022-07-29 10:34:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-29 11:43:25 +0000
commit87df071285348663b750172dc6979f4cb28b5508 (patch)
tree1851129a78484d0b545b2bc86c626e19b9701331 /src/mongo/s/request_types/sharded_ddl_commands.idl
parentfc07225f8eb33456bbb67842db7d7112a0ee683b (diff)
downloadmongo-87df071285348663b750172dc6979f4cb28b5508.tar.gz
SERVER-67400 Create ShardVersion type
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, 3 insertions, 3 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl
index 001551acaf6..cc3b2b00691 100644
--- a/src/mongo/s/request_types/sharded_ddl_commands.idl
+++ b/src/mongo/s/request_types/sharded_ddl_commands.idl
@@ -32,6 +32,7 @@ global:
cpp_namespace: "mongo"
cpp_includes:
- "mongo/s/catalog/type_collection.h"
+ - "mongo/s/shard_version.h"
imports:
- "mongo/db/commands/rename_collection.idl"
@@ -41,7 +42,6 @@ imports:
- "mongo/db/keypattern.idl"
- "mongo/db/coll_mod.idl"
- "mongo/idl/basic_types.idl"
- - "mongo/s/chunk_version.idl"
- "mongo/s/sharding_types.idl"
- "mongo/s/resharding/common_types.idl"
- "mongo/db/timeseries/timeseries.idl"
@@ -110,7 +110,7 @@ structs:
strict: false
fields:
collectionVersion:
- type: ChunkVersion
+ type: shard_version
description: "Latest version of the collection"
optional: false
@@ -176,7 +176,7 @@ structs:
description: "UUID of the created collection"
optional: true
collectionVersion:
- type: ChunkVersion
+ type: shard_version
description: "Latest version of the collection"
optional: false