Apurva Mehta created KAFKA-5147:
-----------------------------------

             Summary: KafkaProducer's TransactionManager needs a review on 
synchronization
                 Key: KAFKA-5147
                 URL: https://issues.apache.org/jira/browse/KAFKA-5147
             Project: Kafka
          Issue Type: Bug
            Reporter: Apurva Mehta
            Assignee: Apurva Mehta


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)

Reply via email to