cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branimir Lambov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13703) Using min_compress_ratio <= 1 causes corruption
Date Fri, 15 Sep 2017 08:39:00 GMT

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

Branimir Lambov updated CASSANDRA-13703:
----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Tests were fine, committed to trunk as [17a358c2cc2c583c3e0fa046ca8dee6d743ad1c5|https://github.com/apache/cassandra/commit/17a358c2cc2c583c3e0fa046ca8dee6d743ad1c5].

> Using min_compress_ratio <= 1 causes corruption
> -----------------------------------------------
>
>                 Key: CASSANDRA-13703
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13703
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Blocker
>             Fix For: 4.x
>
>         Attachments: patch
>
>
> This is because chunks written uncompressed end up below the compressed size threshold.
Demonstrated by applying the attached patch meant to improve the testing of the 10520 changes,
and running {{CompressedSequentialWriterTest.testLZ4Writer}}.
> The default {{min_compress_ratio: 0}} is not affected as it never writes uncompressed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message