Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-702

Create a shell helper to reconfig from a PA to a PSA set

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.14.0
    • Affects Version/s: None
    • Component/s: None
    • Needed
    • Hide

      This is not released yet in the legacy shell, but it will require the same documentation.

      Show
      This is not released yet in the legacy shell, but it will require the same documentation.
    • Iteration Chicago

      As part of SERVER-55376, we will be banning replica set reconfigs that try to go from a PA set to a PSA set where the secondary is electable in the new config since that is unsafe. Instead we should implement a shell helper to do the two back to back reconfigs proposed in WRITING-7727.

      Legacy shell implementation: https://github.com/mongodb/mongo/blob/3192123cbc96d4c8121bd9849e70fd8b79eb37a9/src/mongo/shell/utils.js#L1572-L1619
      Legacy shell tests: https://github.com/mongodb/mongo/blob/3192123cbc96d4c8121bd9849e70fd8b79eb37a9/jstests/noPassthrough/reconfig_for_psa_set_shell.js

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: