cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3871) Turn compression on by default
Date Wed, 08 Feb 2012 13:47:59 GMT

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

Sylvain Lebresne commented on CASSANDRA-3871:
---------------------------------------------

I believe this only turn compression on for column family initially created from a thrift
structure, as otherwise the default in CFMetaData.init() is still to not use compression.
I believe this has 2 consequences that I can see:
# it doesn't set compression by default for CF created through CQL, since CreateColumnFamilyStatement
uses CFMetaData directly. we should at least fix that one.
# it doesn't set compression by default for the system CF, nor for secondary indexes. But
for those one, that may be something we want, I don't know. On the one side, if we think compression
is a better default, why not use it for everything, but on the other side, the user has not
way to disable compression for those, so we may want to wait a little bit more before enabling
it there.
                
> Turn compression on by default
> ------------------------------
>
>                 Key: CASSANDRA-3871
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3871
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1
>
>         Attachments: CASSANDRA-3871.patch
>
>
> Compression has been available but off by default since 1.0.0.  It's enabled in a lot
of production environments now, with no major problems found.  (Some problems with customizing
the block size were found and fixed in the 1.0 releases.)

--
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

        

Mime
View raw message