This is an automated email from the ASF dual-hosted git repository.

djoshi pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a7f8968  Fix Zstd compression level documentation
a7f8968 is described below

commit a7f89688e5b4fdc2f8990fc42cb593da4f6a923f
Author: Romain Hardouin <romain_hardo...@yahoo.fr>
AuthorDate: Tue Sep 24 11:20:54 2019 -0700

    Fix Zstd compression level documentation
    
    Patch by Romain Hardouin; Reviewed by Dinesh Joshi for CASSANDRA-15296
---
 doc/source/operating/compression.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/source/operating/compression.rst 
b/doc/source/operating/compression.rst
index 42a057b..b4308b3 100644
--- a/doc/source/operating/compression.rst
+++ b/doc/source/operating/compression.rst
@@ -38,7 +38,9 @@ default, three options are relevant:
 - ``chunk_length_in_kb`` specifies the number of kilobytes of data per 
compression chunk. The default is 64KB.
 - ``crc_check_chance`` determines how likely Cassandra is to verify the 
checksum on each compression chunk during
   reads. The default is 1.0.
-- ``compression_level`` is only applicable for ``ZstdCompressor`` and accepts 
values between ``-131072`` and ``2``.
+- ``compression_level`` is only applicable for ``ZstdCompressor`` and accepts 
values between ``-131072`` and ``22``.
+    The lower the level, the faster the speed (at the cost of compression). 
Values from 20 to 22 are called
+    "ultra levels" and should be used with caution, as they require more 
memory. The default is 3.
 
 Users can set compression using the following syntax:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to