RollbackImpl::_summarizeRollback() should not throw

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2018-04-09
    • 60
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When RollbackImpl::runRollback() exits, we log a rollback summary by calling RollbackImpl::_summarizeRollback() within an ON_BLOCK_EXIT scope guard. This method calls OplogInterfaceRemote::toString(), which can throw if the remote host is unreachable. The uncaught exception then triggers a std::terminate.

      The failure manifests as a hang when running rollback_with_socket_error_then_steady_state.js in the replica_sets_auth suite.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: