Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15296

ZstdCompressor compression_level setting

    XMLWordPrintableJSON

Details

    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

      Attachments

        1. 15296-trunk.txt
          1 kB
          Romain Hardouin

        Activity

          People

            rha Romain Hardouin
            dvohra DeepakVohra
            Romain Hardouin
            Dinesh Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: