Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8543

[Broker-J] Nonuniform handling of the connections when NetworkConnectionScheduler is closed

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When NetworkConnectionScheduler is closed:

      1. If there are more IO-threads than tasks in scheduler's work queue then the connection will finish its work.
      2. If there are more tasks than IO-threads then the connection processing can finish or an exception will be raised or the connection task will be abandoned in the work queue.

      We would like to unify the handling of the connections when the NetworkConnectionScheduler is closed. The suggested solution is gracefully closed all connections registered in scheduler and finish all task in the work queue. The scheduler must not accept any new task when it is closed.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            lacam Marek Laca

            Dates

              Created:
              Updated:

              Slack

                Issue deployment