[ 
https://issues.apache.org/jira/browse/KAFKA-12219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

A. Sophie Blee-Goldman updated KAFKA-12219:
-------------------------------------------
    Description: With KAFKA-8802 (included in [2.4.0 
release|https://downloads.apache.org/kafka/2.4.0/RELEASE_NOTES.html]), 
{{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.  (was: With 
KAFKA-8802 (included in [2.4.0 
release|https://downloads.apache.org/kafka/2.4.0/RELEASE_NOTES.html]), 
{{ConcurrentSkipListMap}} in {{InMemoryKeyValueStore}} was reverted into 
{{TreeMap}} for performance issues. However, the {{synchronized}} keyword for 
{{reverseRange}}, {{reverseAll}} methods were omitted, leaving possibility of 
race condition.)

> Potential race condition in InMemoryKeyValueStore
> -------------------------------------------------
>
>                 Key: KAFKA-12219
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12219
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.7.0
>            Reporter: Dongjin Lee
>            Assignee: Dongjin Lee
>            Priority: Critical
>             Fix For: 2.8.0
>
>
> With KAFKA-8802 (included in [2.4.0 
> release|https://downloads.apache.org/kafka/2.4.0/RELEASE_NOTES.html]), 
> {{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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to