[
https://issues.apache.org/jira/browse/CASSANDRA-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Lerer updated CASSANDRA-10775:
---------------------------------------
Attachment: 10775-2.2.txt
The patch makes sure that the metadata are computed after the compression ratio
addition.
Waiting for CI results
> SSTable compression ratio is not serialized properly
> ----------------------------------------------------
>
> Key: CASSANDRA-10775
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10775
> Project: Cassandra
> Issue Type: Bug
> Components: Local Write-Read Paths
> Reporter: Benjamin Lerer
> Assignee: Benjamin Lerer
> Fix For: 3.0.x, 3.x
>
> Attachments: 10775-2.2.txt
>
>
> While reviewing CASSANDRA-10225, I found out that the compression ratio
> returned by the {{StatsMetadata}} for some compressed sstables was - 1
> (NO_COMPRESSION_RATIO).
> After investigation it seems that the wrong compression ratio was serialized
> to disk.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)