diff options
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator_impl.h')
-rw-r--r-- | src/mongo/db/repl/topology_coordinator_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/topology_coordinator_impl.h b/src/mongo/db/repl/topology_coordinator_impl.h index 0cd56272565..74d7368d552 100644 --- a/src/mongo/db/repl/topology_coordinator_impl.h +++ b/src/mongo/db/repl/topology_coordinator_impl.h @@ -156,7 +156,8 @@ public: virtual void clearSyncSourceBlacklist(); virtual bool shouldChangeSyncSource(const HostAndPort& currentSource, const OpTime& myLastOpTime, - const rpc::ReplSetMetadata& metadata, + const OpTime& syncSourceLastOpTime, + bool syncSourceHasSyncSource, Date_t now) const; virtual bool becomeCandidateIfStepdownPeriodOverAndSingleNodeSet(Date_t now); virtual void setElectionSleepUntil(Date_t newTime); |