[SERVER-46991] Create aggregation secondary reads passthrough which runs against a sharded cluster Created: 19/Mar/20  Updated: 29/Oct/23  Resolved: 07/Apr/20

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.4.0-rc1, 4.7.0

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Arun Banala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-47516 mode_replace_fail.js should not assum... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Query 2020-04-06, Query 2020-04-20
Participants:

 Description   

In SERVER-46077, we created a new passthrough suite which runs the tests in jstests/aggregation/ against a replica set. It configures causal consistency and runs all read operations against a secondary. Our intention was to reuse $out/$merge test coverage to make sure that these operations still work when they run on a replica set secondary.

Since the implementation of $out/$merge running on a secondary differs depending on whether the cluster is a single replica set or is sharded, we need to get similar test coverage in the sharded case. For this purpose, we should introduce a variant of the aggregation_secondary_reads passthrough which runs against a sharded cluster. I would recommend that we test against a 2-shard cluster (where each shard is a 2-node or 3-node replica set) and that we implicitly shard accessed collections.



 Comments   
Comment by Githook User [ 09/Apr/20 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-46991 Create aggregation secondary reads passthrough which runs against a sharded cluster

(cherry picked from commit b21f611ec6ad54d552386b125533c22466d12388)
Branch: v4.4
https://github.com/mongodb/mongo/commit/58378211afc8963b7049afe96fd1e6731e620bd9

Comment by Githook User [ 07/Apr/20 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-46991 Create aggregation secondary reads passthrough which runs against a sharded cluster
Branch: master
https://github.com/mongodb/mongo/commit/883ec759a8a0ce69468b19e501636a740d643c63

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