summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/strategy.cpp
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-07-11 12:46:24 -0400
committerMisha Tyulenev <misha@mongodb.com>2017-07-11 12:47:24 -0400
commit42a1339774964f645a3991c3629aa655ffb05cf2 (patch)
tree219ff15c39190d2aa734ea0cafb4b25d41b4e648 /src/mongo/s/commands/strategy.cpp
parent2ed5ff7d34959ebe204697ff615d24a8eabc45bf (diff)
downloadmongo-42a1339774964f645a3991c3629aa655ffb05cf2.tar.gz
SERVER-30038 rename $logicalTime to $clusterTime
Diffstat (limited to 'src/mongo/s/commands/strategy.cpp')
-rw-r--r--src/mongo/s/commands/strategy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/strategy.cpp b/src/mongo/s/commands/strategy.cpp
index 557ade044d8..2b320595c4d 100644
--- a/src/mongo/s/commands/strategy.cpp
+++ b/src/mongo/s/commands/strategy.cpp
@@ -128,7 +128,7 @@ Status processCommandMetadata(OperationContext* opCtx, const BSONObj& cmdObj) {
void appendRequiredFieldsToResponse(OperationContext* opCtx, BSONObjBuilder* responseBuilder) {
auto validator = LogicalTimeValidator::get(opCtx);
if (validator->shouldGossipLogicalTime()) {
- // Add $logicalTime.
+ // Add $clusterTime.
auto currentTime =
validator->signLogicalTime(opCtx, LogicalClock::get(opCtx)->getClusterTime());
rpc::LogicalTimeMetadata(currentTime).writeToMetadata(responseBuilder);