summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/rename_collection_coordinator.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_coordinator.h
parentd08c26c369053ea8565c033ae8a9f446607f6d6c (diff)
downloadmongo-201f3d1d493e8d0744c4ca7599d6b2d44e29d8b2.tar.gz
SERVER-56649 Make renameCollection resilient to network partitions
Diffstat (limited to 'src/mongo/db/s/rename_collection_coordinator.h')
-rw-r--r--src/mongo/db/s/rename_collection_coordinator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/rename_collection_coordinator.h b/src/mongo/db/s/rename_collection_coordinator.h
index badc1a59ee9..94caaa0d61b 100644
--- a/src/mongo/db/s/rename_collection_coordinator.h
+++ b/src/mongo/db/s/rename_collection_coordinator.h
@@ -87,6 +87,9 @@ private:
void _enterPhase(Phase newPhase);
+ void _performNoopRetryableWriteOnParticipants(
+ OperationContext* opCtx, const std::shared_ptr<executor::TaskExecutor>& executor);
+
RenameCollectionCoordinatorDocument _doc;
boost::optional<RenameCollectionResponse> _response;