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

Improve MV TTL error message

    XMLWordPrintableJSON

Details

    Description

      Old MVs could have been created with a default_time_to_live before the time of CASSANDRA-12868.

      A few years forward customers altering that MV for other reasons might get a very confusing message which can benefit from some clarification.

      ALTER MATERIALIZED VIEW XXXXX_view WITH gc_grace_seconds = 10800;
      
      Cannot set or alter default_time_to_live for a materialized view. Data in a materialized view always expire at the same time than the corresponding data in the parent table.
      

      Attachments

        Activity

          People

            bereng Berenguer Blasi
            bereng Berenguer Blasi
            Berenguer Blasi
            Aleksei Zotov, Benjamin Lerer, Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: