You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Apurva Mehta (JIRA)" <ji...@apache.org> on 2017/05/23 23:09:04 UTC

[jira] [Work started] (KAFKA-5147) KafkaProducer's TransactionManager needs a review on synchronization

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

Work on KAFKA-5147 started by Apurva Mehta.
-------------------------------------------
> KafkaProducer's TransactionManager needs a review on synchronization
> --------------------------------------------------------------------
>
>                 Key: KAFKA-5147
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5147
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Apurva Mehta
>            Assignee: Apurva Mehta
>            Priority: Blocker
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> Currently, the completion handlers are not synchronized, though they access shared state like `partitionsInTransaction`, and `lastError`, `pendingPartitionsToBeaddedToTransaction`, etc. 
> We should either make the collections concurrent or synchronize the handlers. 
> In general, we need to review this code to ensure that the synchronization is correct. 



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