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

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

Jun Rao created KAFKA-2290:
------------------------------

             Summary: OffsetIndex should open RandomAccessFile consistently
                 Key: KAFKA-2290
                 URL: https://issues.apache.org/jira/browse/KAFKA-2290
             Project: Kafka
          Issue Type: Bug
          Components: core
            Reporter: Jun Rao


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)