[
https://issues.apache.org/jira/browse/CASSANDRA-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-3558:
----------------------------------------
Attachment: 0001-Correctly-handle-chunk_length_in_kb.patch
Fix attached. I've added a test for this in the distributed tests (at
https://github.com/riptano/cassandra-dtest).
We could have a unit test for this but without CASSANDRA-3559, it's more pain
that it should be.
> Compression chunk_length_kb is not correctly returned for thrift/avro
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-3558
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3558
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.3
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Fix For: 1.0.6
>
> Attachments: 0001-Correctly-handle-chunk_length_in_kb.patch
>
>
> CASSANDRA-3492 fixed the interpretation of chunk_length_kb as a size in bytes
> but infortunately forgot to convert it back to kb when returning it for
> thrift/avro. In particular, this means that a {{describe cf}} would return
> things like {{chunk_length_kb: 65535}}.
> I'm afraid that because migration uses Avro this is kind of a problem. One
> may have to issue an 'update column family' with the right chunk_length_kb to
> be sure to be in a safe place.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira