diff options
Diffstat (limited to 'src/mongo/rpc/metadata.cpp')
-rw-r--r-- | src/mongo/rpc/metadata.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/rpc/metadata.cpp b/src/mongo/rpc/metadata.cpp index 2d569de56bd..c4488220493 100644 --- a/src/mongo/rpc/metadata.cpp +++ b/src/mongo/rpc/metadata.cpp @@ -101,8 +101,7 @@ void readRequestMetadata(OperationContext* opCtx, const BSONObj& metadataObj) { if (signedTime.getTime() != LogicalTime::kUninitialized) { // Cluster times are only sent by sharding aware mongod servers, so this point is only // reached in sharded clusters. - if (serverGlobalParams.featureCompatibility.version.load() != - ServerGlobalParams::FeatureCompatibility::Version::k34) { + if (serverGlobalParams.featureCompatibility.isFullyUpgradedTo36()) { auto logicalTimeValidator = LogicalTimeValidator::get(opCtx); if (!LogicalTimeValidator::isAuthorizedToAdvanceClock(opCtx)) { if (!logicalTimeValidator) { |