Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7722

Enhance error-handling during request replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • Core Framework
    • None

    Description

      InĀ ThreadPoolRequestReplicator.NodeHttpRequest.run() the main logic is in a try block, during which all Exceptions are caught and handled properly. However we need to call an Object.notify() after that so it's crucial that the error handling covers every scenario.

      Because of this we should catch all Throwables (instead of only Exceptions), otherwise - should we encounter an Error for example - we might end up in a deadlock state.

      Attachments

        Issue Links

          Activity

            People

              tpalfy Tamas Palfy
              tpalfy Tamas Palfy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h