Failpoint should not allow escape of FCBIS:_finishCallback

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 6.0.15
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v6.0
    • Repl 2023-03-06
    • 49
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Matthew Russotto
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: