[
https://issues.apache.org/jira/browse/CASSANDRA-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-3128:
----------------------------------------
Attachment: 0002-Use-only-one-options-for-compression.patch
0001-Thrift-files.patch
> Replace compression and compression_options config parameters by just a
> compression_options map.
> ------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-3128
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3128
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 1.0
>
> Attachments: 0001-Thrift-files.patch,
> 0002-Use-only-one-options-for-compression.patch
>
>
> As suggested on CASSANDRA-3105, as long as 1.0 is not out, we could replace
> the 'compression' and 'compression_options' parameters by just one that would
> allow to write:
> {noformat}
> compression_options = { sstable_compression: SnappyCompressor,
> block_length_kb: 32 }
> {noformat}
> This would allow for more future-proof, in particular if we decide to make
> CASSANDRA-3015 pluggable in the future or for CASSANDRA-3127 as this would
> allow us to simply evolve to say:
> {noformat}
> compression_options = { sstable_compression: SnappyCompressor,
> block_length_kb: 32, stream_compression: LZFCompressor }
> {noformat}
> This has the advantages of (1) not polluting CfDef and (2) leaving the option
> of documenting some option only in advanced documentation (if said option is
> not meant for new users)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira