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

RollbackImpl::_summarizeRollback() should not throw

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2018-04-09
    • 60

    Description

      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.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: