cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8778) Adler32 Digests for Compressed SSTables are Incorrect
Date Thu, 19 Feb 2015 12:32:11 GMT

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

Benedict commented on CASSANDRA-8778:
-------------------------------------

This patch doesn't apply cleanly to 2.0 - looks like there's some associated renaming missing
from the diff. Could you also ensure you're producing the patch by a simple "git diff"? There's
some extraneous noise in the file 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
>            Assignee: Jeff Jirsa
>            Priority: Trivial
>         Attachments: cassandra-8778.patch
>
>
> 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)

Mime
View raw message