diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-10-06 12:46:44 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-10-06 16:59:55 -0400 |
commit | bb71f4a4bea6c030675477d0dce18f77d0ee4b4b (patch) | |
tree | 9fbe3d91127b3da022954526ca8576db7ee97eaa /src/mongo/db/read_concern.cpp | |
parent | 33990519ca30e8a653aaca218c49539f5eba3468 (diff) | |
download | mongo-bb71f4a4bea6c030675477d0dce18f77d0ee4b4b.tar.gz |
SERVER-31424 generate the keys in RS right after becoming a primary
Diffstat (limited to 'src/mongo/db/read_concern.cpp')
-rw-r--r-- | src/mongo/db/read_concern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/read_concern.cpp b/src/mongo/db/read_concern.cpp index 79d353f536e..4b055c6f646 100644 --- a/src/mongo/db/read_concern.cpp +++ b/src/mongo/db/read_concern.cpp @@ -74,7 +74,7 @@ Status makeNoopWriteIfNeeded(OperationContext* opCtx, LogicalTime clusterTime) { auto shardingState = ShardingState::get(opCtx); // standalone replica set, so there is no need to advance the OpLog on the primary. if (!shardingState->enabled()) { - log() << "XXX: attempting to make a write for clusterTIme: " << clusterTime + log() << "Attempting to make a write for clusterTIme: " << clusterTime << " but is in standalone RS"; return Status::OK(); } |