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

Potential race condition in InMemoryKeyValueStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 2.7.1
    • streams
    • None

    Description

      With KAFKA-8802 (included in 2.4.0 release), ConcurrentSkipListMap in InMemoryKeyValueStore was reverted into TreeMap for performance issues. However, the synchronized keyword for reverseRange, reverseAll methods were omitted when adding the reverse range methods in 2.7, leaving possibility of race condition.

      Attachments

        Issue Links

          Activity

            People

              dongjin Dongjin Lee
              dongjin Dongjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: