cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abuli Palagashvili (Jira)" <>
Subject [jira] [Comment Edited] (CASSANDRA-16789) Add TTL support to nodetool snapshots
Date Sat, 10 Jul 2021 18:42:00 GMT


Abuli Palagashvili edited comment on CASSANDRA-16789 at 7/10/21, 6:41 PM:

Okay, first of all let's exclude {{SnapshotSizeDetails}} into separate class and make it field
of {{SnapshotDetails}}.After that we modify {{Directories.getSnapshotDetails}} to make it
returning {{Map<String, SnapshotDetails>}} and extract snapshots on strartup using this

was (Author: fibersel):
Okay, first of all let's exclude SnapshotSizeDetails into separate class and make it field
of SnapshotDetails.After that we modify Directories.getSnapshotDetails

> Add TTL support to nodetool snapshots
> -------------------------------------
>                 Key: CASSANDRA-16789
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Tool/nodetool
>            Reporter: Paulo Motta
>            Assignee: Abuli Palagashvili
>            Priority: Normal
> Add new parameter {{--ttl}} to {{nodetool snapshot}} command. This parameter can be specified
in human readable duration (ie. 30mins, 1h, 300d) and should not be lower than 1 minute.
> The expiration date should be added to the snapshot manifest in ISO format.
> A periodic thread should efficiently scan snapshots and automatically clear those past
expiration date. The periodicity of the scan thread should be 1 minute by default but be overridable
via a system property.
> The command {{nodetool listsnapshots}} should display the expiration date when the snapshot
contains a TTL.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message