Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Code
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
The DEFAULT_COMPRESSION_LEVEL for ZstdCompressor is set to 3, but its range for compression_level is indicated to be between -131072 and 2. The default value is outside the range. Is it by design or a bug?
- ``compression_level`` is only applicable for ``ZstdCompressor`` and accepts values between ``-131072`` and ``2``. // Compressor Defaults public static final int DEFAULT_COMPRESSION_LEVEL = 3;
https://github.com/apache/cassandra/commit/dccf53061a61e7c632669c60cd94626e405518e9