[ https://issues.apache.org/jira/browse/KAFKA-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534276#comment-15534276 ]
Ismael Juma commented on KAFKA-4232: ------------------------------------ That's a good point [~becket_qin], the synchronization on the same `deque` makes it much easier to reason about. :) > 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)