You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Black (JIRA)" <ji...@apache.org> on 2015/06/22 10:00:19 UTC
[jira] [Assigned] (KAFKA-2290) OffsetIndex should open
RandomAccessFile consistently
[ https://issues.apache.org/jira/browse/KAFKA-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Black reassigned KAFKA-2290:
----------------------------------
Assignee: Chris Black
> 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
> Assignee: Chris Black
> 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)