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

Move primary coordinator silently exit on errors

    • Fully Compatible
    • ALL
    • v7.0
    • Hide

      1. Start a movePrimary and reach the commit phase
      2. Step down the node, wait until the coordinator resumes
      3. Cause any failure in the exit critical section phase, like for example, step down the config server

      Show
      1. Start a movePrimary and reach the commit phase 2. Step down the node, wait until the coordinator resumes 3. Cause any failure in the exit critical section phase, like for example, step down the config server
    • Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07
    • 134

      After SERVER-73929 we use the onError chain in order to cleanup any problem caused in the clone phase. Unfortunately, the code is missing a return status; statement, causing that any error after the commit phase to not be retried, which could lead for example to maintain the critical section even after finishing the move primary command.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: