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

Compaction thread should try to empty a bucket before moving on

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:

      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

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              stuhood Stu Hood
              Reviewer:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: