summaryrefslogtreecommitdiff
path: root/src/mongo/embedded/replication_coordinator_embedded.cpp
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2020-04-09 20:59:30 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-23 19:26:49 +0000
commit3064008dd3830bee2c18cea531fff565e26d47e5 (patch)
tree4288e9377b2455855b032035b3a262e74da6d296 /src/mongo/embedded/replication_coordinator_embedded.cpp
parentad478267c27b2b5f36cb39ad8c150081eaec9644 (diff)
downloadmongo-3064008dd3830bee2c18cea531fff565e26d47e5.tar.gz
SERVER-46893 Allow streamable isMaster to wait on removed/uninitialized nodes
(cherry picked from commit 2bad13a63315132a2793194d8d89f28dd7534928) SERVER-47638 Ensure isMaster is waiting before calling replSetInitiate in AwaitableIsMasterOnNodeWithUninitializedConfigInvalidHorizon (cherry picked from commit 523b9c9f92db20062ad6e3f42ceb80292e1a23f3)
Diffstat (limited to 'src/mongo/embedded/replication_coordinator_embedded.cpp')
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.cpp4
1 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 1f569487739..cee4e8a51f3 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.cpp
+++ b/src/mongo/embedded/replication_coordinator_embedded.cpp
@@ -515,14 +515,14 @@ std::shared_ptr<const repl::IsMasterResponse> ReplicationCoordinatorEmbedded::aw
OperationContext* opCtx,
const repl::SplitHorizon::Parameters& horizonParams,
boost::optional<TopologyVersion> previous,
- boost::optional<Date_t> deadline) const {
+ boost::optional<Date_t> deadline) {
UASSERT_NOT_IMPLEMENTED;
};
SharedSemiFuture<std::shared_ptr<const IsMasterResponse>>
ReplicationCoordinatorEmbedded::getIsMasterResponseFuture(
const SplitHorizon::Parameters& horizonParams,
- boost::optional<TopologyVersion> clientTopologyVersion) const {
+ boost::optional<TopologyVersion> clientTopologyVersion) {
UASSERT_NOT_IMPLEMENTED;
}