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

Failpoint should not allow escape of FCBIS:_finishCallback

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2023-03-06
    • 49

    Description

      If fCBISHangBeforeFinish is interrupted by cancelation (e.g. at shutdown), we will uassert out of _finishCallback and be left in a state where _onCompletion is nullptr and _state is not State::kComplete. The state will cause us to call _finishCallback again, at which point it will crash because of _onCompletion being null. Instead we should swallow the "interrupted" exception and just continue when fCBISHangBeforeFinish is interrupted.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: