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 23:53:20 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=15534446#comment-15534446 ] 

Jiangjie Qin edited comment on KAFKA-4232 at 9/29/16 11:52 PM:
---------------------------------------------------------------

[~ijuma] I double checked the code that threw that IllegalStateException and it looks the follow up patch of KAFKA-3594 was not included in the code. So the `MemoryRecords.hasRoomFor` did not retern correct value. Really sorry about the false alarm. I'll close the ticket.


was (Author: becket_qin):
[~ijuma] I double checked the code that thrown that exception and it looks the follow up patch of KAFKA-3594 was not included in the code. Really sorry about the false alarm. I'll close the ticket.

> 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
>
>
> MemoryRecords.writable should be volatile.



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