cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8949) CompressedSequentialWriter.resetAndTruncate can lose data
Date Mon, 23 Mar 2015 14:11:11 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375926#comment-14375926
] 

T Jake Luciani commented on CASSANDRA-8949:
-------------------------------------------

+1

> CompressedSequentialWriter.resetAndTruncate can lose data
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-8949
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8949
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Critical
>             Fix For: 2.0.14
>
>
> 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)

Mime
View raw message