cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6652) Stop CommitLogSegment.close() from unnecessarily calling sync() prior to cleaning the buffer
Date Wed, 05 Feb 2014 10:40:09 GMT

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

Benedict updated CASSANDRA-6652:
--------------------------------

    Attachment:     (was: tmp-2.0.patch)

> Stop CommitLogSegment.close() from unnecessarily calling sync() prior to cleaning the
buffer
> --------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6652
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6652
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Benedict
>            Priority: Minor
>         Attachments: tmp-2.0.patch
>
>
> What it says on the tin. Currently CLS.close() calls sync() before cleaning the buffer,
which may result in unnecessary IO, but also in the case of a failure on the commit disk may
prevent CLS from being discarded, or in the case of a faulty file may prevent any progress
on reclaiming CLS.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message