diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2018-01-09 17:43:16 -0500 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2018-01-19 17:50:24 -0500 |
commit | 410d6cf705eafd46499e8b338be5103becd377ff (patch) | |
tree | 498fbb2663ca0a1646a999acb6ab30e38ea78b8a /src/mongo/db/read_concern.cpp | |
parent | 9ed0b147b5cb71b8fbc7d28f43d66aa623b08ac1 (diff) | |
download | mongo-410d6cf705eafd46499e8b338be5103becd377ff.tar.gz |
SERVER-32463 Remove FCV dependent causal consistency code
Diffstat (limited to 'src/mongo/db/read_concern.cpp')
-rw-r--r-- | src/mongo/db/read_concern.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/read_concern.cpp b/src/mongo/db/read_concern.cpp index 0d3dd1baf82..44196c98dcf 100644 --- a/src/mongo/db/read_concern.cpp +++ b/src/mongo/db/read_concern.cpp @@ -239,14 +239,6 @@ Status waitForReadConcern(OperationContext* opCtx, return {ErrorCodes::InvalidOptions, "afterClusterTime is not allowed for this command"}; } - if ((serverGlobalParams.featureCompatibility.getVersion() != - ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36) && - ShardingState::get(opCtx)->enabled()) { - return {ErrorCodes::InvalidOptions, - "readConcern afterClusterTime is not available in featureCompatibilityVersion " - "3.4 in a sharded cluster"}; - } - auto currentTime = LogicalClock::get(opCtx)->getClusterTime(); if (currentTime < *afterClusterTime) { return {ErrorCodes::InvalidOptions, |