diff options
author | Judah Schvimer <judah@mongodb.com> | 2018-06-01 17:24:03 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2018-06-05 12:50:30 -0400 |
commit | 9d000b9eced82065afaa4a64c227930da0d70206 (patch) | |
tree | 615eceb8ebed0dfd7ca97d7b0c8206d7528cc37a /src/mongo/db/repl/replication_recovery.h | |
parent | 315d216282d9182078e7ae8a994747caab812dc9 (diff) | |
download | mongo-9d000b9eced82065afaa4a64c227930da0d70206.tar.gz |
SERVER-35366 OplogApplier only returns empty batch when buffer is empty
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.h')
-rw-r--r-- | src/mongo/db/repl/replication_recovery.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_recovery.h b/src/mongo/db/repl/replication_recovery.h index 76d34671519..df7da3ce1fe 100644 --- a/src/mongo/db/repl/replication_recovery.h +++ b/src/mongo/db/repl/replication_recovery.h @@ -90,8 +90,8 @@ private: * (inclusive). This fasserts if oplogApplicationStartPoint is not in the oplog. */ void _applyToEndOfOplog(OperationContext* opCtx, - Timestamp oplogApplicationStartPoint, - Timestamp topOfOplog); + const Timestamp& oplogApplicationStartPoint, + const Timestamp& topOfOplog); /** * Gets the last applied OpTime from the end of the oplog. Returns CollectionIsEmpty if there is |