Jeff Jirsa created CASSANDRA-8778:
-------------------------------------

             Summary: 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)

Reply via email to