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