[SERVER-68431] resharding_test_fixture doesn't configure failpoints for all nodes of config server Created: 29/Jul/22  Updated: 29/Oct/23  Resolved: 05/Aug/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.0.1, 5.0.11, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Abdul Qadeer Assignee: Abdul Qadeer
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0
Sprint: Sharding 2022-08-08
Participants:
Linked BF Score: 55
Story Points: 3

 Description   

The resharding_test_fixture.js configures multiple failpoints including "reshardingPauseCoordinatorBeforeCompletion" during setup only on the primary in the initial topology state. resharding_nonblocking_coordinator_rebuild.js is one test which enables elections which also enable them for config server in addition to shard replica sets. 

It is possible for the config server to have a change in primary during the execution of test and the new server won't have the failpoints configured causing the ReshardingCoordinator to return without blocking. Any tests dependent on the behavior of the reshardingPauseCoordinatorBeforeCompletion failpoint configured by the ReshardingTest fixture can potentially surface this issue.



 Comments   
Comment by Max Hirschhorn [ 18/Aug/22 ]

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-68431 Configure test fixture failpoints for all CSRS nodes

(cherry picked from commit c272759ad888d73418115d50ba5920a25793929c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/3da0228bc6a506a9bffde311885070576d31b577

Comment by Githook User [ 05/Aug/22 ]

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-68431 Configure test fixture failpoints for all CSRS nodes

(cherry picked from commit c272759ad888d73418115d50ba5920a25793929c)
Branch: v6.0
https://github.com/mongodb/mongo/commit/32f0f9c88dc44a2c8073a5bd47cf779d4bfdee6b

Comment by Max Hirschhorn [ 05/Aug/22 ]

Author:

{'name': 'Abdul Qadeer', 'email': 'abdul.qadeer@mongodb.com', 'username': 'zorro786'}

Message: SERVER-68431 Configure test fixture failpoints for all CSRS nodes
Branch: master
https://github.com/mongodb/mongo/commit/c272759ad888d73418115d50ba5920a25793929c

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