diff options
Diffstat (limited to 'src/mongo/db/repl/oplogreader.h')
-rw-r--r-- | src/mongo/db/repl/oplogreader.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplogreader.h b/src/mongo/db/repl/oplogreader.h index 017e2613281..66ac8f9c6c0 100644 --- a/src/mongo/db/repl/oplogreader.h +++ b/src/mongo/db/repl/oplogreader.h @@ -44,6 +44,7 @@ namespace mongo { namespace repl { class ReplicationCoordinator; + class OpTime; // {"$natural": -1 } extern const BSONObj reverseNaturalObj; @@ -145,8 +146,8 @@ namespace repl { * sync source blacklist. * This function may throw DB exceptions. */ - void connectToSyncSource(OperationContext* txn, - Timestamp lastOpTimeFetched, + void connectToSyncSource(OperationContext* txn, + const OpTime& lastOpTimeFetched, ReplicationCoordinator* replCoord); }; |