kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5457) MemoryRecordsBuilder.hasRoomfor doesn't take into account the headers while computing available space
Date Fri, 16 Jun 2017 00:54:01 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-5457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051247#comment-16051247
] 

ASF GitHub Bot commented on KAFKA-5457:
---------------------------------------

GitHub user apurvam opened a pull request:

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

    KAFKA-5457: MemoryRecordsBuilder.hasRoomFor should account for record headers

    

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

    $ git pull https://github.com/apurvam/kafka KAFKA-5457-memoryrecordsbuilder-has-room-for-should-account-for-headers

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

    https://github.com/apache/kafka/pull/3355.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 #3355
    
----
commit 51ebbef40d3f98d4fbc5c041e53064f529853542
Author: Apurva Mehta <apurva@confluent.io>
Date:   2017-06-16T00:52:23Z

    Ensure that MemoryRecordsBuilder.hasRoomFor accounts for the headers in a record as well

----


> MemoryRecordsBuilder.hasRoomfor doesn't take into account the headers while computing
available space
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5457
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5457
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Apurva Mehta
>            Assignee: Apurva Mehta
>            Priority: Blocker
>             Fix For: 0.11.0.0
>
>
> This could result in a BufferFull or similar exception when headers are actually being
used. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message