You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (Created) (JIRA)" <ji...@apache.org> on 2011/12/02 13:01:40 UTC
[jira] [Created] (CASSANDRA-3558) Compression chunk_length_kb is
not correctly returned for thrift/avro
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
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
[jira] [Updated] (CASSANDRA-3558) Compression chunk_length_kb is
not correctly returned for thrift/avro
Posted by "Sylvain Lebresne (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CASSANDRA-3558) Compression chunk_length_kb is
not correctly returned for thrift/avro
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3558:
--------------------------------------
Reviewer: xedin
Labels: compression (was: )
> 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
> Labels: compression
> 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