[SERVER-56919] Add validation for memberIndex to reconfigToPSASet() shell helper Created: 13/May/21  Updated: 29/Oct/23  Resolved: 19/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.11, 5.0.0-rc0, 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Xuerui Fa Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-60217 [v5.0] enableReconfigRollbackCommitte... Closed
Problem/Incident
Related
is related to SERVER-55376 Reconfig can roll back committed writ... Closed
is related to MONGOSH-702 Create a shell helper to reconfig fro... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4
Sprint: Repl 2021-05-17, Repl 2021-05-31
Participants:
Linked BF Score: 38

 Description   

In SERVER-55376, we added a helper function to the legacy shell for users to reconfig to a PSA set without losing any committed writes. We should add some additional assertions to that helper function, to help improve safety of the reconfig.



 Comments   
Comment by Githook User [ 17/Nov/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-56919: Add validation for memberIndex to reconfigToPSASet() shell helper

(cherry picked from commit 3192123cbc96d4c8121bd9849e70fd8b79eb37a9)
Branch: v4.4
https://github.com/mongodb/mongo/commit/7ed761fc511930ae6edf086509b2a8e993ddf3b2

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 24/Sep/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: Revert "SERVER-56919: Add validation for memberIndex to reconfigToPSASet() shell helper"

This reverts commit bcee1c92648bef584ffa8adf08553360dc22a68c.
Branch: v4.4
https://github.com/mongodb/mongo/commit/9080b717bd76f6fb2a32a4e35a26ea6fc02582e4

Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-56919: Add validation for memberIndex to reconfigToPSASet() shell helper

(cherry picked from commit 3192123cbc96d4c8121bd9849e70fd8b79eb37a9)
Branch: v4.4
https://github.com/mongodb/mongo/commit/bcee1c92648bef584ffa8adf08553360dc22a68c

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-56919: Add validation for memberIndex to reconfigToPSASet() shell helper

(cherry picked from commit 3192123cbc96d4c8121bd9849e70fd8b79eb37a9)
Branch: v5.0
https://github.com/mongodb/mongo/commit/df68527f18b9353853849ff52dd0f4f600e2f15e

Comment by Githook User [ 19/May/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-56919: Add validation for memberIndex to reconfigToPSASet() shell helper
Branch: master
https://github.com/mongodb/mongo/commit/3192123cbc96d4c8121bd9849e70fd8b79eb37a9

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