[SERVER-75009] Confirm all nodes have successfully reconfigured before shutdown in auto_safe_reconfig_helper_max_voting_nodes.js Created: 17/Mar/23  Updated: 29/Oct/23  Resolved: 22/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2023-03-20, Repl 2023-04-03
Participants:
Linked BF Score: 45

 Description   

There are totally 8 nodes in the config. By looking at the log, it seems that when we do reconfig, node 7(20547) is way behind others in the reconfig process. In the test, we move forward based on whether the reconfig succeeds on majority of nodes, so one slow node doesn't affect the test process, however, when we shutdown the replica set, we do rely on every node to finish the reconfig process or the shutdown will error out, leading to test failure.

We can add a configuration check for every node to be up-to-date before shutdown replica set, so the test won't fail on replica set shutdown.



 Comments   
Comment by Githook User [ 22/Mar/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-75009 wait all nodes to have latest config before shutdown in auto_safe_reconfig_helper_max_voting_nodes.js
Branch: master
https://github.com/mongodb/mongo/commit/02585c16aabf7c8954b87373890fbbc461b026fe

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