summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types/sharded_ddl_commands.idl
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2022-01-21 18:34:03 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-25 10:01:09 +0000
commita7d04099d85b9a191b99576415ed1da2f1d835cf (patch)
treefd37f1ea6fe1d9c6a57487947265af89afa2574b /src/mongo/s/request_types/sharded_ddl_commands.idl
parentf87125b0644546b6eb9ad9d349f6180dd8ca280c (diff)
downloadmongo-a7d04099d85b9a191b99576415ed1da2f1d835cf.tar.gz
SERVER-62783 Get rid of ChunkVersion::toBSON
Special-case the generation of the {0:minor|major, 1:epoch, ...} format
Diffstat (limited to 'src/mongo/s/request_types/sharded_ddl_commands.idl')
-rw-r--r--src/mongo/s/request_types/sharded_ddl_commands.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl
index 77e851fdf1d..878c9f142c7 100644
--- a/src/mongo/s/request_types/sharded_ddl_commands.idl
+++ b/src/mongo/s/request_types/sharded_ddl_commands.idl
@@ -84,7 +84,7 @@ structs:
strict: false
fields:
collectionVersion:
- type: ChunkVersion
+ type: ChunkVersionArrayWronglyEncodedAsBSONObjFormat
description: "Latest version of the collection"
optional: false
@@ -141,7 +141,7 @@ structs:
description: "UUID of the created collection"
optional: true
collectionVersion:
- type: ChunkVersion
+ type: ChunkVersionArrayWronglyEncodedAsBSONObjFormat
description: "Latest version of the collection"
optional: false