summaryrefslogtreecommitdiff
path: root/src/mongo/embedded/replication_coordinator_embedded.cpp
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-11-09 10:13:36 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-12 00:08:17 +0000
commit187f9654649452e51b55cc3204cbbfb88742af06 (patch)
treea890ca5864965afa2cca0d0b675e2983f1a4a987 /src/mongo/embedded/replication_coordinator_embedded.cpp
parentadd2cc96db696e9295e3dc7a56337b28e13fd0a8 (diff)
downloadmongo-187f9654649452e51b55cc3204cbbfb88742af06.tar.gz
SERVER-51264 Change IsMasterResponse to HelloResponse on mongod and update local vars/functions
Diffstat (limited to 'src/mongo/embedded/replication_coordinator_embedded.cpp')
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp
index 9fe5b2d4c42..95a6aa2296e 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.cpp
+++ b/src/mongo/embedded/replication_coordinator_embedded.cpp
@@ -522,7 +522,7 @@ void ReplicationCoordinatorEmbedded::incrementTopologyVersion() {
UASSERT_NOT_IMPLEMENTED;
}
-std::shared_ptr<const repl::IsMasterResponse> ReplicationCoordinatorEmbedded::awaitIsMasterResponse(
+std::shared_ptr<const repl::HelloResponse> ReplicationCoordinatorEmbedded::awaitHelloResponse(
OperationContext* opCtx,
const repl::SplitHorizon::Parameters& horizonParams,
boost::optional<TopologyVersion> previous,
@@ -530,8 +530,8 @@ std::shared_ptr<const repl::IsMasterResponse> ReplicationCoordinatorEmbedded::aw
UASSERT_NOT_IMPLEMENTED;
};
-SharedSemiFuture<std::shared_ptr<const IsMasterResponse>>
-ReplicationCoordinatorEmbedded::getIsMasterResponseFuture(
+SharedSemiFuture<std::shared_ptr<const HelloResponse>>
+ReplicationCoordinatorEmbedded::getHelloResponseFuture(
const SplitHorizon::Parameters& horizonParams,
boost::optional<TopologyVersion> clientTopologyVersion) {
UASSERT_NOT_IMPLEMENTED;