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

TTL columns with older then gcgrace do not need to flush

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Not A Problem
    • 2.0 beta 1
    • None
    • None

    Description

      With memcache many people are willing to sacrifice durability for performance. Cassandra has a TimeToLive feature that can be used in caching scenarios with low values for gc_grace_seconds. However from a code dive it seems that cassandra will always write TTL to disk, even those that are beyond gc_grace_seconds. If a use case very large memtables,small ttl, and small gc_grace it is possible that flushing these columns to disk can be skipped entirely in some scenarios.

      Attachments

        1. cassandra-4565.patch.1.txt
          3 kB
          Edward Capriolo

        Activity

          People

            aleksey Aleksey Yeschenko
            appodictic Edward Capriolo
            Aleksey Yeschenko
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: