summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_aggregation_planner.cpp
diff options
context:
space:
mode:
authorEric Cox <eric.cox@mongodb.com>2021-10-08 22:19:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-08 23:34:26 +0000
commit3f69e79c0ecda4c76efa25b66ea5cdc87acd4c98 (patch)
tree3a0cd26810cdd8008f809c40df6007a8670f3de5 /src/mongo/s/query/cluster_aggregation_planner.cpp
parent4aaacbdc5159eaf3365880f5a0b84db14c2f6941 (diff)
downloadmongo-3f69e79c0ecda4c76efa25b66ea5cdc87acd4c98.tar.gz
SERVER-59924 Error executing aggregate with $out with "available" read concern on sharded clusters
Diffstat (limited to 'src/mongo/s/query/cluster_aggregation_planner.cpp')
-rw-r--r--src/mongo/s/query/cluster_aggregation_planner.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/query/cluster_aggregation_planner.cpp b/src/mongo/s/query/cluster_aggregation_planner.cpp
index 507e9adf9e4..e5f0c36e552 100644
--- a/src/mongo/s/query/cluster_aggregation_planner.cpp
+++ b/src/mongo/s/query/cluster_aggregation_planner.cpp
@@ -148,8 +148,7 @@ BSONObj createCommandForMergingShard(Document serializedCommand,
}
// Attach the IGNORED chunk version to the command. On the shard, this will skip the actual
- // version check but will nonetheless mark the operation as versioned, indicating that any
- // internal operations executed by the pipeline should also be appropriately versioned.
+ // version check but will nonetheless mark the operation as versioned.
auto mergeCmdObj = appendShardVersion(mergeCmd.freeze().toBson(), ChunkVersion::IGNORED());
// Attach the read and write concerns if needed, and return the final command object.