summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator_js_reduce.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2020-03-30 17:29:22 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-31 19:13:47 +0000
commit3e670d36c7ef52320e11bfabc5cc42394b605d43 (patch)
tree270cb94f57ab3c6e5d1fa344b7b05d9bd3111fb9 /src/mongo/db/pipeline/accumulator_js_reduce.cpp
parentf105232d6594336e35cfee8f7f6d4ef49182ce84 (diff)
downloadmongo-3e670d36c7ef52320e11bfabc5cc42394b605d43.tar.gz
SERVER-46169 Remove query-related FCV checks left over from 4.4 development
These checks were necessary for the 4.2/4.4 upgrade/downgrade process but will not be necessary for the 4.4/4.6 upgrade/downgrade. The remaining FCV checks in query code after this patch are "generic", meaning that they should be updated to check for FCV "4.6" (once it becomes available) rather than FCV "4.4".
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_js_reduce.cpp')
-rw-r--r--src/mongo/db/pipeline/accumulator_js_reduce.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/pipeline/accumulator_js_reduce.cpp b/src/mongo/db/pipeline/accumulator_js_reduce.cpp
index ee0b28e17ba..09981d5f4ab 100644
--- a/src/mongo/db/pipeline/accumulator_js_reduce.cpp
+++ b/src/mongo/db/pipeline/accumulator_js_reduce.cpp
@@ -189,10 +189,7 @@ Document AccumulatorInternalJsReduce::serialize(boost::intrusive_ptr<Expression>
return DOC(getOpName() << DOC("data" << argument->serialize(explain) << "eval" << _funcSource));
}
-REGISTER_ACCUMULATOR_WITH_MIN_VERSION(
- accumulator,
- AccumulatorJs::parse,
- ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo44);
+REGISTER_ACCUMULATOR(accumulator, AccumulatorJs::parse);
boost::intrusive_ptr<AccumulatorState> AccumulatorJs::create(
const boost::intrusive_ptr<ExpressionContext>& expCtx,