summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_aggregation_planner.cpp
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2020-09-01 12:42:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-01 20:00:06 +0000
commit1fba06eafa75520fb7ded3103f3832465023c6be (patch)
tree5d7159a3ee98a0a568e8f9ff34b9c84f87048d02 /src/mongo/s/query/cluster_aggregation_planner.cpp
parenta2486fc9d08029b28f7341d1ed040c3d65d7214d (diff)
downloadmongo-1fba06eafa75520fb7ded3103f3832465023c6be.tar.gz
SERVER-47398 Rename runtime constants to legacy
Diffstat (limited to 'src/mongo/s/query/cluster_aggregation_planner.cpp')
-rw-r--r--src/mongo/s/query/cluster_aggregation_planner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/query/cluster_aggregation_planner.cpp b/src/mongo/s/query/cluster_aggregation_planner.cpp
index 71b1bddaac8..3e9a48552b1 100644
--- a/src/mongo/s/query/cluster_aggregation_planner.cpp
+++ b/src/mongo/s/query/cluster_aggregation_planner.cpp
@@ -126,8 +126,8 @@ BSONObj createCommandForMergingShard(Document serializedCommand,
mergeCmd["pipeline"] = Value(pipelineForMerging->serialize());
mergeCmd[AggregationRequest::kFromMongosName] = Value(true);
- mergeCmd[AggregationRequest::kRuntimeConstantsName] =
- Value(mergeCtx->getRuntimeConstants().toBSON());
+ mergeCmd[AggregationRequest::kLegacyRuntimeConstantsName] =
+ Value(mergeCtx->getLegacyRuntimeConstants().toBSON());
// If the user didn't specify a collation already, make sure there's a collation attached to
// the merge command, since the merging shard may not have the collection metadata.