Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1561 REEF as a library
  3. REEF-1661

RejectedExecutionException thrown when closing the acceptor in NettyMessageTransport

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.16
    • Wake
    • None

    Description

      Sometimes when the application closes Wake NettyMessageTransport, and exception is thrown from acceptor.close() call. We catch and log the error and then proceed with the shutdown; this is normal behavior required to make the NettyMessageTransport.close() method idempotent.

      The exception does not prevent us from the graceful shutdown of the transport, but it is still unclear what exactly causes the error. Do we close the transport more than once? Does the acceptor gets closed as a side effect of some other service shutdown? The error might be an indicator of some minor error or a race condition somewhere in the REEF/Wake shutdown process.

      Attachments

        Issue Links

          Activity

            People

              motus Sergiy Matusevych
              motus Sergiy Matusevych
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: