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

Heuristic or hard cap to prevent fragmented commit logs from bringing down the server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.0.0
    • None

    Description

      Widely divergent write rates on column families can cause the commit log segments to fragment. In some cases we have seen the commit log partition overrun.

      One solution here would be to create a heuristic for segment fragmentation to trigger a flush (commit log segments/memtable) or simply track the free disk space and force a global flush when the disk gets to 80% capacity.

      Attachments

        1. CASSANDRA-2427-4-trunk.txt
          16 kB
          Patricio Echague
        2. CASSANDRA-2427-5-trunk.txt
          0.3 kB
          Patricio Echague
        3. CASSANDRA-2427-6-trunk-explainPropBetter.txt
          0.6 kB
          Patricio Echague
        4. CASSANDRA-2427-Jconsole-snapshot.tiff
          169 kB
          Patricio Echague
        5. CASSANDRA-2427-trunk.txt
          143 kB
          Patricio Echague

        Activity

          People

            patricioe Patricio Echague
            bcoverston Benjamin Coverston
            Patricio Echague
            Jonathan Ellis
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: