You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jiangjie Qin (JIRA)" <ji...@apache.org> on 2016/09/29 18:14:20 UTC

[jira] [Updated] (KAFKA-4232) IllegalStateException may be thrown from producer.send() when a batch is full.

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

Jiangjie Qin updated KAFKA-4232:
--------------------------------
    Status: Patch Available  (was: Open)

> 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)