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

stepdown hook should retry replSetFreeze command on AutoReconnect error

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.1.1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • ALL

      In the stepdown hook, we issue a replSetFreeze command after replSetStepdown.

      The latter will cause the connection to the client to be terminated as a result of the node stepping down, but the termination may not happen until after the command returns, which means the next command that gets issued on the same connection, not the replSetStepDown command itself, will see an invalid connection and get an AutoReconnect error.

            Assignee:
            backlog-server-tig DO NOT USE - Backlog - Test Infrastructure Group (TIG)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: