Jiangjie Qin created KAFKA-4232:
-----------------------------------

             Summary: IllegalStateException may be thrown from producer.send() 
when a batch is full.
                 Key: KAFKA-4232
                 URL: https://issues.apache.org/jira/browse/KAFKA-4232
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.10.0.0
            Reporter: Jiangjie Qin
            Assignee: Jiangjie Qin
            Priority: Blocker
             Fix For: 0.10.1.0


We used to leave the batch not closed if an append failed due to batch is full. 
In KAFKA-3747, we changed the behavior to close the batch to save the memory. 
However, this would leave a closed batch at the end of the deque and may cause 
a subsequent append fail due to MemoryRecords not writable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to