summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/rename_collection_participant_service.h
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/rename_collection_participant_service.h
parentd08c26c369053ea8565c033ae8a9f446607f6d6c (diff)
downloadmongo-201f3d1d493e8d0744c4ca7599d6b2d44e29d8b2.tar.gz
SERVER-56649 Make renameCollection resilient to network partitions
Diffstat (limited to 'src/mongo/db/s/rename_collection_participant_service.h')
-rw-r--r--src/mongo/db/s/rename_collection_participant_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/rename_collection_participant_service.h b/src/mongo/db/s/rename_collection_participant_service.h
index 9a2c885916d..6edad7e0316 100644
--- a/src/mongo/db/s/rename_collection_participant_service.h
+++ b/src/mongo/db/s/rename_collection_participant_service.h
@@ -98,6 +98,10 @@ public:
return _doc.getFromNss();
}
+ const UUID& sourceUUID() {
+ return _doc.getSourceUUID();
+ }
+
const NamespaceString& toNss() {
return _doc.getTo();
}