summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
diff options
context:
space:
mode:
authorVesselina Ratcheva <vesselina.ratcheva@10gen.com>2018-06-21 13:18:09 -0400
committerVesselina Ratcheva <vesselina.ratcheva@10gen.com>2018-07-02 21:03:07 -0400
commit925a113194e00e193318486f576d14e6c3e27ea1 (patch)
tree21e3e838e7d5a91b79a17c6dee2b45d4aedbe8e0 /src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
parentf683298f0f85129b4eaf0c16244fe984943f42ce (diff)
downloadmongo-925a113194e00e193318486f576d14e6c3e27ea1.tar.gz
SERVER-35058 Do not rely only on heartbeats to signal secondary positions in the stepdown command
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
index 9ea9d13542f..d1269f78d1b 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp
@@ -212,9 +212,6 @@ void ReplicationCoordinatorImpl::_handleHeartbeatResponse(
_updateLastCommittedOpTime_inlock();
}
- // Wake the stepdown waiter when our updated OpTime allows it to finish stepping down.
- _signalStepDownWaiterIfReady_inlock();
-
// Abort catchup if we have caught up to the latest known optime after heartbeat refreshing.
if (_catchupState) {
_catchupState->signalHeartbeatUpdate_inlock();