You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/02/11 04:37:11 UTC

[jira] [Commented] (CASSANDRA-8778) Adler32 Digests for Compressed SSTables are Incorrect

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

Jonathan Ellis commented on CASSANDRA-8778:
-------------------------------------------

IMO we should do this separately anyway since #5791 is 2.1+ but this should be fixed in 2.0 as well.

> Adler32 Digests for Compressed SSTables are Incorrect
> -----------------------------------------------------
>
>                 Key: CASSANDRA-8778
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8778
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeff Jirsa
>            Priority: Trivial
>
> ChecksumWriter append() calculates the checksum of a buffer, then also writes that checksum as an int into the provided DataOutput. The final call to writeFullChecksum will have the checksum of all of the buffers, but none of the intermediate int checksums.
> This issue was discovered (and a fix proposed) in #5791 - if the patch for #5791 is not accepted, some fix for src/java/org/apache/cassandra/io/util/DataIntegrityMetadata.java should be applied. 



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