[SERVER-69004] [4.2] backport pm-2419 Per Shard Cursors via mongos Created: 19/Aug/22  Updated: 29/Oct/23  Resolved: 08/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.24

Type: Task Priority: Major - P3
Reporter: Mickey Winters Assignee: Mickey Winters
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backports SERVER-63772 Post Batch Resume token not sent on i... Closed
backports SERVER-63773 Per Shard cursor post batch resume to... Closed
backports SERVER-63774 Pass optional dbVersion to runPipelin... Closed
backports SERVER-63781 $sortKey not filtered out in initial ... Closed
backports SERVER-70633 Make per shard cursors suite actually... Closed
backports SERVER-62738 Give mongos the ability to passthroug... Closed
backports SERVER-58673 Enable featureFlagPerShardCursor Closed
backports SERVER-62400 Add $_passthroughToShard parameter to... Closed
backports SERVER-62681 Create change streams per shard curso... Closed
backports SERVER-69785 robustify change_streams_per_shard_cu... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-03, QE 2022-10-17, QE 2022-10-31, QE 2022-11-14
Participants:

 Comments   
Comment by Githook User [ 08/Nov/22 ]

Author:

{'name': 'Mickey. J Winters', 'email': 'mickey.winters@mongodb.com', 'username': 'mjrb'}

Message: SERVER-69004 backport per shard cursors

SERVER-62400
SERVER-62681
SERVER-62738
SERVER-63781
SERVER-63774
SERVER-63772
SERVER-63773
SERVER-58673
SERVER-70633
SERVER-69785

both modified: src/mongo/s/query/cluster_aggregate.cpp
both modified: src/mongo/s/query/cluster_aggregation_planner.cpp
both modified: src/mongo/s/query/cluster_aggregation_planner.h
these files had irreconcilable differences and the changes had to be reimplemented by hand.
this is due to some refactoring and AggregationTargeter not existing

(cherry-picked from commit e424f3ed1266bcd772c52bcf23c518b2fe6c83ab)
(cherry-picked from commit ba8f9a28c8769dfe10f73b190c943ee4a57ee7a1)
(cherry-picked from commit 1219ff764c932f16a68c7ba1afd9b925f9f876c8)
Branch: v4.2
https://github.com/mongodb/mongo/commit/792f237975470ab61e3e9cd4b54ede87ed9377d8

Generated at Thu Feb 08 06:12:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.