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

HandleHttpRequest fails to empty queue on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.14.0, 1.13.2
    • None
    • Extensions
    • 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

              exceptionfactory David Handermann
              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