[SERVER-80712] Avoid leaving the replica set shard partitioned at the end of `linearizable_read_concern.js` Created: 04/Sep/23  Updated: 29/Oct/23  Resolved: 04/Sep/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.2.0-rc0, 7.0.2, 7.1.0-rc1, 5.0.22, 6.0.11

Type: Bug Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-78115 Shard primaries must commit a majorit... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.1, v7.0, v6.0, v5.0
Sprint: Sharding EMEA 2023-09-18
Participants:
Linked BF Score: 40

 Description   

This test sets up a sharded cluster and at the end leaves the secondary nodes of a shard disconnected from the primary. The metadata consistency check is triggered by default when the sharded cluster terminates, causing a WriteConcernFailed error.

This problem is expected when the filtering metadata is refreshed (due to a majority-write in the catalog cache) as a consequence of the metadata consistency check.

The goal of this ticket is to reconnect the secondary nodes at the end of the test, and also enable all consistency checks that are explicitly disabled.



 Comments   
Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-80712 Reconcile partitioned shard and enable consistency checks in `linearizable_read_concern.js`
Branch: v6.0
https://github.com/mongodb/mongo/commit/48cb571eeb72bfee8d1655ad8a307d4ec2dfd6c5

Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-80712 Reconcile partitioned shard and enable consistency checks in `linearizable_read_concern.js`
Branch: v7.0
https://github.com/mongodb/mongo/commit/d40229e38e9d26832d5be64ad91d440d17489ee5

Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-80712 Reconcile partitioned shard and enable consistency checks in `linearizable_read_concern.js`
Branch: v5.0
https://github.com/mongodb/mongo/commit/320ffae0eb74e1156bcf415ac63df5f92dffe688

Comment by Githook User [ 05/Sep/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-80712 Reconcile partitioned shard and enable consistency checks in `linearizable_read_concern.js`
Branch: v7.1
https://github.com/mongodb/mongo/commit/dcce7eae3574746c16352fcac56b5508bca00e4d

Comment by Githook User [ 04/Sep/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-80712 Reconcile partitioned shard and enable consistency checks in `linearizable_read_concern.js`
Branch: master
https://github.com/mongodb/mongo/commit/6aaff25521b24a5b9ece452fa2fdb774715b1b59

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