cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6898) describing a table with compression should expand the compression options
Date Thu, 20 Mar 2014 21:23:51 GMT

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

Jonathan Ellis commented on CASSANDRA-6898:
-------------------------------------------

We cheated on the LCS change, but that should be the exception not the rule.  If a value of
X is working for someone we shouldn't change it out from under them.

> describing a table with compression should expand the compression options
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6898
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6898
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>            Reporter: Brandon Williams
>            Priority: Minor
>             Fix For: 2.0.7
>
>
> {noformat}
> cqlsh:foo> CREATE TABLE baz ( foo text, bar text, primary KEY (foo)) WITH compression
= {};
> cqlsh:foo> DESCRIBE TABLE baz;
> CREATE TABLE baz (
>   foo text,
>   bar text,
>   PRIMARY KEY (foo)
> ) WITH
>   bloom_filter_fp_chance=0.010000 AND
>   caching='KEYS_ONLY' AND
>   comment='' AND
>   dclocal_read_repair_chance=0.000000 AND
>   gc_grace_seconds=864000 AND
>   index_interval=128 AND
>   read_repair_chance=0.100000 AND
>   replicate_on_write='true' AND
>   populate_io_cache_on_flush='false' AND
>   default_time_to_live=0 AND
>   speculative_retry='99.0PERCENTILE' AND
>   memtable_flush_period_in_ms=0 AND
>   compaction={'class': 'SizeTieredCompactionStrategy'} AND
>   compression={};
> cqlsh:foo>
> {noformat}
> From this, you can't tell that LZ4 compression is enabled, even though it is.  It would
be more friendly to expand the option to show the defaults.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message