summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_recovery.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-01-23 14:40:45 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-29 14:39:53 +0000
commit7442016d9fd45928370084da1899bc63240a3486 (patch)
tree85b01dcd00e9e0095b9906418753505a0f183049 /src/mongo/db/repl/replication_recovery.h
parenta081c83758521e11a5f285541ea9f13928f3de0f (diff)
downloadmongo-7442016d9fd45928370084da1899bc63240a3486.tar.gz
SERVER-45721 truncation using the oplogTruncateAfterPoint is always non-inclusive of the oplogTruncateAfterPoint
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.h')
-rw-r--r--src/mongo/db/repl/replication_recovery.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_recovery.h b/src/mongo/db/repl/replication_recovery.h
index 0a891420b54..cef637b1ee8 100644
--- a/src/mongo/db/repl/replication_recovery.h
+++ b/src/mongo/db/repl/replication_recovery.h
@@ -131,10 +131,9 @@ private:
StatusWith<OpTime> _getTopOfOplog(OperationContext* opCtx) const;
/**
- * Truncates the oplog after the "truncateTimestamp" entry. Includes the "truncateTimestamp"
- * entry if "inclusive" is set to true.
+ * Truncates the oplog after the "truncateTimestamp" entry.
*/
- void _truncateOplogTo(OperationContext* opCtx, Timestamp truncateTimestamp, bool inclusive);
+ void _truncateOplogTo(OperationContext* opCtx, Timestamp truncateTimestamp);
/**
* Uses the oplogTruncateAfterPoint, accessed via '_consistencyMarkers', to decide whether to