[SERVER-45575] Add Javascript helpers for doing non "force" multi node reconfigs Created: 14/Jan/20  Updated: 29/Oct/23  Resolved: 25/Mar/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 1
Labels: safe-reconfig-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-47120 Add all secondary nodes simultaneousl... Backlog
related to SERVER-45079 Only allow single-node change in reco... Closed
is related to SERVER-46897 REMOVED node may never send heartbeat... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Repl 2020-03-23, Repl 2020-04-06
Participants:

 Description   

SERVER-45079 makes it so that all non-force reconfigs can only add or remove a single voting node at a time. We would prefer to use non-force reconfig in our JS test infrastructure when possible, but it is currently cumbersome to manually execute a sequence of single node reconfigs to add or remove multiple nodes. We should add JS helper functions that can do this automatically to make non-force reconfigs easier to use in our testing. We should also update any existing tests that are currently using 'force' reconfig temporarily to work around this issue.



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

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-45575 Update resmoke.py to add in nodes to the replica set fixture one at a time

(cherry picked from commit 7224f2130763f2b92285bc81e7a10bd5732e8295)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e2298b735b3275a77baf015c26aa2516a8aa1219

Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-45575 Add Javascript helper function to do automatic safe reconfigs

(cherry picked from commit b52c7b320bf6e6a031055e611fbb58cc76967352)
Branch: v4.4
https://github.com/mongodb/mongo/commit/fcd1c0aae55c0b713ff329c18435c77867365748

Comment by Githook User [ 25/Mar/20 ]

Author:

{'email': 'william.schultz@mongodb.com', 'name': 'William Schultz', 'username': 'will62794'}

Message: SERVER-45575 Update resmoke.py to add in nodes to the replica set fixture one at a time
Branch: master
https://github.com/mongodb/mongo/commit/7224f2130763f2b92285bc81e7a10bd5732e8295

Comment by William Schultz (Inactive) [ 25/Mar/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

SERVER-45575 Add Javascript helper function to do automatic safe reconfigs
Branch: master
https://github.com/mongodb/mongo/commit/b52c7b320bf6e6a031055e611fbb58cc76967352

Comment by William Schultz (Inactive) [ 14/Jan/20 ]

Consider updating the following tests to use the helpers:

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