Joshua McKenzie created CASSANDRA-8949:
------------------------------------------
Summary: 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.13, 2.1.4
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)