Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-74695

Improve the readability of the movePrimary's cloning phase

    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-03-20, Sharding EMEA 2023-04-03

      The cloning phase of the resilient movePrimary was not implemented using the same readability pattern used for other phases.

      The idea is to implement each phase by calling meaningful functions that hide all the complexity of individual operations as well as error handling. Reading the workflow must be clear and flowing, allowing the engineers to understand the semantics of the command without losing attention to low-level details.

      Ideally the entire workflow should be visible on one screen.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: