You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2012/08/23 18:52:42 UTC

[jira] [Resolved] (KAFKA-386) Race condition in accessing ISR

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

Jun Rao resolved KAFKA-386.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

This should be fixed as part of kafka-351. All accesses to ISR are now synchronized.
                
> Race condition in accessing ISR
> -------------------------------
>
>                 Key: KAFKA-386
>                 URL: https://issues.apache.org/jira/browse/KAFKA-386
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Joel Koshy
>              Labels: bugs
>             Fix For: 0.8
>
>
> Also brought up in KAFKA-353 - Partition's inSyncReplicas is used by both KafkaApis and ReplicaManager; and is subject to concurrent writes. Should be able to just switch it to an AtomicReference, but need to look at the code more carefully to determine if that is sufficient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira