summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/logical_time_validator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/logical_time_validator.cpp b/src/mongo/db/logical_time_validator.cpp
index 98b217fb401..b9d51601afc 100644
--- a/src/mongo/db/logical_time_validator.cpp
+++ b/src/mongo/db/logical_time_validator.cpp
@@ -143,7 +143,7 @@ SignedLogicalTime LogicalTimeValidator::signLogicalTime(OperationContext* opCtx,
Status LogicalTimeValidator::validate(OperationContext* opCtx, const SignedLogicalTime& newTime) {
{
stdx::lock_guard<stdx::mutex> lk(_mutex);
- if (newTime.getTime() == _lastSeenValidTime.getTime()) {
+ if (newTime.getTime() <= _lastSeenValidTime.getTime()) {
return Status::OK();
}
}