michaelsembwever commented on code in PR #2254:
URL: https://github.com/apache/cassandra/pull/2254#discussion_r1175529411


##########
conf/cassandra.yaml:
##########
@@ -566,6 +566,48 @@ commitlog_segment_size: 32MiB
 #
 # flush_compression: fast
 
+#
+sstable_compressor:
+#   - class_name: lz4
+#     parameters:
+#       - enable: true
+#         chunk_length: 16KiB
+#         min_compress_ratio: 0.0
+#         max_comrpessed_length: 16KiB
+#         class_specific_parameter: value
+#
+#
+# The class_name is the compressor class name. It may be one of the aliases,
+# the class name of a system ICompressor implementation, or fully qualified
+# name of a class that implements ICompressor.
+#
+# class aliases are:
+#  alias   system compressor impl.
+#  lz4      LZ4Compressor,
+#  none     (null) -- disabled
+#  noop     NoopCompressor
+#  snappy   SnappyCompressor
+#  deflate  DeflateCompressor
+#  zstd     ZstdCompressor
+#
+# The standard parameters are any required or optional parameter for the 
instantiation of the
+# specified class, or one of the following standard parameters:
+# parameter                       usage
+# enable                Disables compression if set to false. Defaults to true.
+# chunk_length          The lenght of the compresson chunks, defaults to 16KiB
+# min_compress_ratio    The miniimal acceptable compression, must greater than 
or equal to 1.0.
+# max_compressed_length The maximum size for a compressed block.  Must be less 
than
+#                           chunk_length.   Defaults to Integer.MAX_VALUE
+# chunk_length_in_kb    The CQL compression parameter.
+#
+# Only one of the min_compress_ratio and max_compressed_length options can be 
specified.
+# They are  mathematically related in that
+# chunk_length / max_compressed_length = min_compress_ratio
+# if neither option is specified a min_compress_ratio of 0.0 is the default.
+#
+# Only one of chunk_length or chunk_length_in_kb may be specified.

Review Comment:
   nit: my bad, please put the comment section before the commented out config. 
this is the norm in this file.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to