summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharded_rename_collection.idl
diff options
context:
space:
mode:
authorSimon Graetzer <simon.gratzer@mongodb.com>2021-07-06 07:52:28 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-06 08:17:00 +0000
commit201f3d1d493e8d0744c4ca7599d6b2d44e29d8b2 (patch)
tree5817131fac5912580e8437510fa54e963147c854 /src/mongo/db/s/sharded_rename_collection.idl
parentd08c26c369053ea8565c033ae8a9f446607f6d6c (diff)
downloadmongo-201f3d1d493e8d0744c4ca7599d6b2d44e29d8b2.tar.gz
SERVER-56649 Make renameCollection resilient to network partitions
Diffstat (limited to 'src/mongo/db/s/sharded_rename_collection.idl')
-rw-r--r--src/mongo/db/s/sharded_rename_collection.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharded_rename_collection.idl b/src/mongo/db/s/sharded_rename_collection.idl
index 942cc857995..1d43633d5e8 100644
--- a/src/mongo/db/s/sharded_rename_collection.idl
+++ b/src/mongo/db/s/sharded_rename_collection.idl
@@ -76,6 +76,10 @@ commands:
sourceUUID:
type: uuid
description: "ID of the collection getting renamed."
+ targetUUID:
+ type: uuid
+ description: "ID of the existing collection getting dropped."
+ optional: true
_shardsvrRenameCollectionParticipantUnblock:
command_name: _shardsvrRenameCollectionParticipantUnblock
@@ -115,6 +119,10 @@ structs:
type: uuid
description: "ID of the collection getting renamed."
optional: true
+ targetUUID:
+ type: uuid
+ description: "ID of the existing collection getting dropped."
+ optional: true
RenameCollectionParticipantDocument:
description: "Represents a rename collection operation on a participant shard."
@@ -134,3 +142,7 @@ structs:
sourceUUID:
type: uuid
description: "ID of the collection getting renamed."
+ targetUUID:
+ type: uuid
+ description: "ID of the existing collection getting dropped."
+ optional: true