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

Compaction thread should try to empty a bucket before moving on

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.0
    • None

    Description

      As suggested by Aaron Morton (1), a compaction thread should attempt to empty a bucket before moving on to a larger bucket. This would change the submitMinorIfNeeded for loop into a while loop that regenerated the buckets and started from the bottom after each successful compaction.

      Attachments

        1. 2407.txt
          1 kB
          Jonathan Ellis
        2. 2407-v2.txt
          18 kB
          Jonathan Ellis
        3. 2407-v3.txt
          18 kB
          Jonathan Ellis
        4. 2407-v4.txt
          20 kB
          Jonathan Ellis

        Activity

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

          People

            jbellis Jonathan Ellis Assign to me
            stuhood Stu Hood
            Jonathan Ellis
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment