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

Improved cleanup performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Abandoned
    • None
    • Local/Compaction
    • None

    Description

      I've been thinking about sstables. One of their properties is that they are sorted. In the face of that property, it would seem that the cleanup functionality should be very fast as all of the partitions which no longer belong to a given node should be in either one or two contiguous blocks of space. Perhaps this is naive, but I would think the index should clearly indicate what needs to be retained versus what can be disposed of, and thus a cleanup should be able to start reading with the first valid partition, stop with the last, and skip the bulk of loading/unloading that seems to be happening.

      Attachments

        Activity

          People

            Unassigned Unassigned
            geekatcmu Brian Gallew
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: