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

maxwellguo commented on CASSANDRA-16451:
----------------------------------------

[~paulo] so  I think besides just add a option when make snapshot ,we also need 
to doing some setting when truncate table (if the table will make a snapshot 
when the table is truncated). And this setting may be of table level. Different 
table should be of different snapshot ttl . 

what is your opinion ? [~paulo][~clohfink][~fibersel]

> Add ability to ttl snapshots
> ----------------------------
>
>                 Key: CASSANDRA-16451
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16451
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/nodetool
>            Reporter: Paulo Motta
>            Priority: Normal
>              Labels: gsoc2021, mentor
>
> It should be possible to add a TTL to snapshots, after which it automatically 
> cleans itself up.
> This will be useful together with the {{auto_snapshot}} option, where you 
> want to keep an emergency snapshot in case of accidental drop or truncation 
> but automatically remove it after a specified period when it's no longer 
> useful. So in addition to allowing a user to specify a snapshot ttl on 
> {{nodetool snapshot}} we should have a {{auto_snapshot_ttl}} option that 
> allows a user to set a ttl for automatic snaphots on drop/truncate.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to