Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5607

Improve error handling in SocketServer to reduce illegal states later

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.0
    • Fix Version/s: 1.0.0
    • Component/s: core
    • Labels:
      None

      Description

      From Jun Rao in https://github.com/apache/kafka/pull/3526:

      In SocketServer, it may be better to catch unexpected exceptions within the loop of socket key iteration in places like processCompletedReceives(). That way, if we hit an unexpected exception, it only affects a single key.

        Attachments

          Activity

            People

            • Assignee:
              rsivaram Rajini Sivaram
              Reporter:
              rsivaram Rajini Sivaram

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment