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

Using min_compress_ratio <= 1 causes corruption

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment