GitHub user omkreddy reopened a pull request:

    https://github.com/apache/kafka/pull/1249

    KAFKA-3594; After calling MemoryRecords.close() method, hasRoomFor() method 
should return false

    This exception is occurring when producer is trying to append a record to a 
Re-enqueued record batch in the accumulator. We should not allow to add a 
record to Re-enqueued record batch. This is due a bug in 
MemoryRecords.java/hasRoomFor() method. After calling MemoryRecords.close() 
method, hasRoomFor() method should return false. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/omkreddy/kafka KAFKA-3594

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1249.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1249
    
----
commit 294a604114a02414887529d9b9025e11a527344a
Author: Manikumar reddy O <manikumar.re...@gmail.com>
Date:   2016-04-21T10:24:59Z

    KAFKA-3594; After calling MemoryRecords.close() method, hasRooFor() method 
should return false

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to