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

Consumer's ensureNotClosed method not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • clients
    • None

    Description

      When a call is to the consumer is made, the first check is to see that the consumer is not closed. This variable is not volatile so there is no guarantee previous stores will be visible before a read.

      Attachments

        1. KAFKA-2311.patch
          3 kB
          Tim Brooks
        2. KAFKA-2311.patch
          2 kB
          Tim Brooks

        Issue Links

          Activity

            People

              timbrooks Tim Brooks
              timbrooks Tim Brooks
              Jason Gustafson Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: