stepdown hook should retry replSetFreeze command on AutoReconnect error

XMLWordPrintableJSON

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

      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:
            DO NOT USE - Backlog - Test Infrastructure Group (TIG)
            Reporter:
            Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: