summaryrefslogtreecommitdiff
path: root/src/mongo/s/request_types
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2022-01-25 21:01:10 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-25 21:39:40 +0000
commit30f415df521fc9b9a04801464f01880e412decce (patch)
treebc5ee07405fdd084c762536b47832737cc8020ef /src/mongo/s/request_types
parent43f1b480ea6c273aecd9caa355d0dc7a48ab7a04 (diff)
downloadmongo-30f415df521fc9b9a04801464f01880e412decce.tar.gz
SERVER-62455 Add `collectionUUID` parameter to `renameCollection` command
Diffstat (limited to 'src/mongo/s/request_types')
-rw-r--r--src/mongo/s/request_types/sharded_ddl_commands.idl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl
index 878c9f142c7..03293b1971e 100644
--- a/src/mongo/s/request_types/sharded_ddl_commands.idl
+++ b/src/mongo/s/request_types/sharded_ddl_commands.idl
@@ -78,6 +78,10 @@ structs:
description: "If true, the original collection will remain temp if it was temp
before the rename."
default: false
+ collectionUUID:
+ type: uuid
+ description: "The expected UUID of the collection."
+ optional: true
RenameCollectionResponse:
description: "Response for the rename collection command"