Don't swallow retryable errors while executing setFCV commands

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.0.0, 8.3.0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      The setFCV command is subject to a series of error which allow to retry the command safely. The router and the drivers can retry these errors, so that they are transparent to the users.

      However, in two places inside the FCV handling code these errors are caught and throw again as custom errors, thus impeding such a behavior.

      In master and 9.0  SERVER-124469 incidentally fixes the same issue. The issue has been deemed not worth to backport, due to the rarity of the cause mentioned (killOp); however, this could happen during a step-down as well, so it's a much wider issue.

            Assignee:
            Unassigned
            Reporter:
            Marco Bizzarri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: