kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-1735) MemoryRecords.Iterator needs to handle partial reads from compressed stream
Date Wed, 01 Jul 2015 23:21:04 GMT

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

Guozhang Wang updated KAFKA-1735:
---------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> MemoryRecords.Iterator needs to handle partial reads from compressed stream
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-1735
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1735
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>             Fix For: 0.9.0
>
>         Attachments: KAFKA-1735.patch
>
>
> Found a bug in the MemoryRecords.Iterator implementation, where 
> {code}
> stream.read(recordBuffer, 0, size)
> {code}
> can read less than size'ed bytes, and rest of the recordBuffer would set to "\0".



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

Mime
View raw message