summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
authorPavi Vetriselvan <pvselvan@umich.edu>2020-05-28 13:00:09 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-26 00:45:47 +0000
commitb281adecd42a0d638d31acbf36a7affc5c0db3f9 (patch)
tree01a0feb4c08297a6563a942caeab8f7f12eef909 /src/mongo/embedded
parent341fb5d34695cb7d0994f5d91947355d60dabf36 (diff)
downloadmongo-b281adecd42a0d638d31acbf36a7affc5c0db3f9.tar.gz
SERVER-46962 Blacklist sync sources that are shutting down
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.cpp2
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp
index f1643f0e0ba..1a788a500be 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.cpp
+++ b/src/mongo/embedded/replication_coordinator_embedded.cpp
@@ -51,7 +51,7 @@ void ReplicationCoordinatorEmbedded::startup(OperationContext* opCtx) {}
void ReplicationCoordinatorEmbedded::enterTerminalShutdown() {}
-bool ReplicationCoordinatorEmbedded::enterQuiesceModeIfSecondary() {
+bool ReplicationCoordinatorEmbedded::enterQuiesceModeIfSecondary(Milliseconds quiesceTime) {
return true;
}
diff --git a/src/mongo/embedded/replication_coordinator_embedded.h b/src/mongo/embedded/replication_coordinator_embedded.h
index f8bd0dbc15c..e43a2f00f8f 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.h
+++ b/src/mongo/embedded/replication_coordinator_embedded.h
@@ -49,7 +49,7 @@ public:
void enterTerminalShutdown() override;
- bool enterQuiesceModeIfSecondary() override;
+ bool enterQuiesceModeIfSecondary(Milliseconds quiesceTime) override;
bool inQuiesceMode() const override;