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

Implement better way of eliminating compaction left overs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0 beta 1
    • None
    • None
    • Normal

    Description

      This is from discussion in CASSANDRA-5137. Currently we skip loading SSTables that are left over from incomplete compaction to not over-count counter, but the way we track compaction completion is not secure.

      One possible solution is to create system CF like:

      create table compaction_log (
        id uuid primary key,
        inputs set<int>,
        outputs set<int>
      );
      

      to track incomplete compaction.

      Attachments

        1. 5151-1.2.txt
          18 kB
          Yuki Morishita
        2. 5151-v2.txt
          25 kB
          Yuki Morishita
        3. 0001-move-scheduling-MeteredFlusher-to-CassandraDaemon.patch
          3 kB
          Yuki Morishita

        Activity

          People

            yukim Yuki Morishita
            yukim Yuki Morishita
            Yuki Morishita
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: