diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-07-11 12:46:24 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-07-11 12:47:24 -0400 |
commit | 42a1339774964f645a3991c3629aa655ffb05cf2 (patch) | |
tree | 219ff15c39190d2aa734ea0cafb4b25d41b4e648 /src/mongo/s/commands/strategy.cpp | |
parent | 2ed5ff7d34959ebe204697ff615d24a8eabc45bf (diff) | |
download | mongo-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.cpp | 2 |
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); |