[ 
https://issues.apache.org/jira/browse/CASSANDRA-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vijay updated CASSANDRA-3648:
-----------------------------

    Attachment: 0001-CASSANDRA-3648.patch

Attached patch has DataIntegratyMetadata for Uncompressed SST's, basically 
while flushing the buffer checksum is calculated and written to a separate CRC 
file. while streaming for bootstrap or after manual repair, we will check the 
chunk checksum (If crc file exists) before streaming the data over. 

Let me know if this is good enough. For RR it is kind of really expensive and 
we might be better off with compressed Data than checking for checksums.
                
> Repair should validate checksums before streaming
> -------------------------------------------------
>
>                 Key: CASSANDRA-3648
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3648
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>            Assignee: Vijay
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: 0001-CASSANDRA-3648.patch
>
>
> We have block checksums and sha1 full-file hashes, but currently we do not 
> validate these before streaming in a repair.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to