You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2015/12/08 18:06:12 UTC

[jira] [Updated] (CASSANDRA-8949) CompressedSequentialWriter.resetAndTruncate can lose data

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

Joshua McKenzie updated CASSANDRA-8949:
---------------------------------------
    Component/s: Local Write-Read Paths

> CompressedSequentialWriter.resetAndTruncate can lose data
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-8949
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8949
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Critical
>             Fix For: 2.0.15, 2.1.5
>
>
> If the FileMark passed into this method fully fills the buffer, a subsequent call to write will reBuffer and drop the data currently in the buffer. We need to mark the buffer contents as dirty in resetAndTruncate to prevent this - see CASSANDRA-8709 notes for details.



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