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

Guozhang Wang resolved KAFKA-5198.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0.0

Issue resolved by pull request 3000
[https://github.com/apache/kafka/pull/3000]

> RocksDbStore#openIterators should be synchronized, since it is accessed from 
> multiple threads
> ---------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5198
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5198
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>             Fix For: 0.11.0.0
>
>
> Currently, {{RocksDBIterator#close}} accesses {{RocksDbStore#openIterators}} 
> without taking the {{RocksDbStore}} lock.  The only lock 
> {{RocksDBIterator#close}} holds is a lock on the iterator object, which does 
> not help here.  So {{RocksDbStore#openIterators}} should be made 
> synchronized.  Otherwise there is undefined behavior, including 
> {{ConcurrentModificationExceptions}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to