diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-07-26 12:25:26 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-07-26 12:34:32 -0400 |
commit | 25d5f6a0b01f261e633587013e4ab8116ea2930a (patch) | |
tree | b9659a708b228b7027a859ef8ed7b89b7b4f73b9 /src/mongo/db/commands/find_cmd.cpp | |
parent | 5f7471631d238fb3269fa0f2c3689ac62e93b61f (diff) | |
download | mongo-25d5f6a0b01f261e633587013e4ab8116ea2930a.tar.gz |
SERVER-41861 Replace 'all_committed' with 'all_durable'
Diffstat (limited to 'src/mongo/db/commands/find_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/find_cmd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/commands/find_cmd.cpp b/src/mongo/db/commands/find_cmd.cpp index 43413cda5f1..52250811dbd 100644 --- a/src/mongo/db/commands/find_cmd.cpp +++ b/src/mongo/db/commands/find_cmd.cpp @@ -338,17 +338,17 @@ public: // shutting down. This isn't an actual concern because the testing infrastructure // won't use the $_internalReadAtClusterTime option in any test suite where clean // shutdown is expected to occur concurrently with tests running. - auto allCommittedTime = storageEngine->getAllCommittedTimestamp(); - invariant(!allCommittedTime.isNull()); + auto allDurableTime = storageEngine->getAllDurableTimestamp(); + invariant(!allDurableTime.isNull()); uassert(ErrorCodes::InvalidOptions, str::stream() << "$_internalReadAtClusterTime value must not be greater" - " than the all-committed timestamp. Requested" + " than the all_durable timestamp. Requested" " clusterTime: " << targetClusterTime->toString() - << "; all-committed timestamp: " - << allCommittedTime.toString(), - allCommittedTime >= targetClusterTime); + << "; all_durable timestamp: " + << allDurableTime.toString(), + allDurableTime >= targetClusterTime); // The $_internalReadAtClusterTime option causes any storage-layer cursors created // during plan execution to read from a consistent snapshot of data at the supplied |