You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2015/06/21 00:42:00 UTC

[jira] [Updated] (KAFKA-2290) OffsetIndex should open RandomAccessFile consistently

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

Guozhang Wang updated KAFKA-2290:
---------------------------------
    Affects Version/s: 0.9.0

> OffsetIndex should open RandomAccessFile consistently
> -----------------------------------------------------
>
>                 Key: KAFKA-2290
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2290
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.9.0
>            Reporter: Jun Rao
>              Labels: newbie
>
> We open RandomAccessFile in "rw" mode in the constructor, but in "rws" mode in resize(). We should use "rw" in both cases since it's more efficient.



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