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

Using min_compress_ratio <= 1 causes corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None
    • None
    • Critical

    Description

      This is because chunks written uncompressed end up below the compressed size threshold. Demonstrated by applying the attached patch meant to improve the testing of the 10520 changes, and running CompressedSequentialWriterTest.testLZ4Writer.

      The default min_compress_ratio: 0 is not affected as it never writes uncompressed.

      Attachments

        1. patch
          0.9 kB
          Branimir Lambov

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              blambov Branimir Lambov
              Branimir Lambov
              Dimitar Dimitrov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: