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

Christophe Bornet commented on CASSANDRA-13908:
-----------------------------------------------

I have looked at the possibility to use CRC32C instead of CRC32 for SSTable 
checksums.
Or reviving CASSANDRA-7130 and make the checksum type configurable.
One of the issue I face is that older versions would [reject new components in 
SSTableZeroCopyWriter|https://github.com/apache/cassandra/blob/d02415d0bd9fc520fa1ec17e1c07a6c18f8e1938/src/java/org/apache/cassandra/io/sstable/SSTableZeroCopyWriter.java#L70]
 if I create a new one for the CRC32C. That would cause issues in a mix-version 
setup. Any idea on how to handle this ?

> Add JDK9 new CRC32C checksum
> ----------------------------
>
>                 Key: CASSANDRA-13908
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13908
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Local Write-Read Paths
>            Reporter: Yingqi Lu
>            Priority: Normal
>              Labels: Performance
>
> Dear All,
> JDK9 introduces a new API java.util.zip.CRC32C. Our early data show CRC32C 
> provides additional performance benefits over CRC32 checksum.
> We are proposing to add CRC32C as one of the checksum types in addition to 
> Adler32 and CRC32. Performance data and prototype code changes will be 
> submitted here soon. At the meantime, please feel free to provide your 
> feedback and comments.
> Thanks,
> Yingqi Lu



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to