You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2021/09/17 10:06:00 UTC

[jira] [Comment Edited] (CASSANDRA-16960) Improve MV TTL error message

    [ https://issues.apache.org/jira/browse/CASSANDRA-16960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416602#comment-17416602 ] 

Berenguer Blasi edited comment on CASSANDRA-16960 at 9/17/21, 10:05 AM:
------------------------------------------------------------------------

Wow so I was seeing little value in testing the wording of the error message itself. But upon adding the test I found a bug in the already existing test where it was failing but for the wrong reason. Nice suggestion! Test added to PRs


was (Author: bereng):
Wow so I was seeing little value in testing the wording of the error message itself. Bu upon adding the test I found a but in the already existing test where it was failing but for the wrong reason. Nice suggestion! Test added to PRs

> Improve MV TTL error message
> ----------------------------
>
>                 Key: CASSANDRA-16960
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16960
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Materialized Views
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 3.11.x, 4.0.x, 4.x
>
>
> 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.
> {code}
> 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.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org