You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2021/01/19 18:36:00 UTC

[jira] [Resolved] (KAFKA-12219) Potential race condition in InMemoryKeyValueStore

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

Guozhang Wang resolved KAFKA-12219.
-----------------------------------
    Fix Version/s: 2.8.0
       Resolution: Fixed

> Potential race condition in InMemoryKeyValueStore
> -------------------------------------------------
>
>                 Key: KAFKA-12219
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12219
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            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, leaving possibility of race condition.



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