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

HandleHttpRequest fails to empty queue on shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14.0, 1.13.2
    • Fix Version/s: None
    • Component/s: Extensions
    • Labels:
      None

      Description

      The HandleHttpRequest shutdown process includes attempts to clear the queue of pending requests and send HTTP 503 responses. The current implementation polls the queue with a timeout of two seconds and attempts to send responses to retrieved requests. Uncaught RuntimeExceptions can result in failing the empty the queue, resulting in unexpected request processing when HandleHttpRequest is rescheduled to run.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                exceptionfactory David Handermann
                Reporter:
                exceptionfactory David Handermann
              • 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 - 40m
                  40m