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

Dynamic Table TTL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • CQL/Semantics
    • None
    • All
    • None

    Description

      One limitation of the default_time_to_live option is that it only applies to newly inserted data so an expensive migration is required when altering the table-level TTL, which is not an uncommon request due to changes in retention policies.

      This seems to have been a deliberate design decision when adding the Table TTL feature on CASSANDRA-3974, due to the reasons stated on this comment so we should revisit and potentially address these concerns.

      I would like to explore supporting dynamic TTL, which would reflect any updates to the table-level default_time_to_live immediately to all table data.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paulo Paulo Motta
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: