diff options
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_mock.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_mock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_mock.h b/src/mongo/db/repl/replication_coordinator_mock.h index 2b56a93c219..5fdf319306d 100644 --- a/src/mongo/db/repl/replication_coordinator_mock.h +++ b/src/mongo/db/repl/replication_coordinator_mock.h @@ -208,7 +208,8 @@ public: virtual void resetLastOpTimesFromOplog(OperationContext* txn); virtual bool shouldChangeSyncSource(const HostAndPort& currentSource, - const rpc::ReplSetMetadata& metadata); + const OpTime& syncSourceLastOpTime, + bool syncSourceHasSyncSource); virtual OpTime getLastCommittedOpTime() const; |