Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CD3FE24D for ; Thu, 14 Mar 2013 20:08:13 +0000 (UTC) Received: (qmail 89676 invoked by uid 500); 14 Mar 2013 20:08:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89650 invoked by uid 500); 14 Mar 2013 20:08:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 89640 invoked by uid 99); 14 Mar 2013 20:08:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 20:08:13 +0000 Date: Thu, 14 Mar 2013 20:08:13 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-3930) CommitLogSegment uses RandomAccessFile which doesnt have fadvice MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-3930: -------------------------------------- Fix Version/s: (was: 2.0) > CommitLogSegment uses RandomAccessFile which doesnt have fadvice > ---------------------------------------------------------------- > > Key: CASSANDRA-3930 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3930 > Project: Cassandra > Issue Type: Improvement > Affects Versions: 1.0.7 > Reporter: Vijay > Assignee: Vijay > Priority: Minor > > Wondering if we even need MMap file in this case as it is always sequential. > If yes, we need it we might want to replace > logFileAccessor = new RandomAccessFile(logFile, "rw"); > to > logFileAccessor = SequentialWriter.open(logFile, true); > in CommitLogSegment -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira