You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (Jira)" <ji...@apache.org> on 2022/05/10 22:08:00 UTC

[jira] [Comment Edited] (CASSANDRA-17619) Expired snapshots of dropped tables are not removed after node restart

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

Paulo Motta edited comment on CASSANDRA-17619 at 5/10/22 10:07 PM:
-------------------------------------------------------------------

|[PR|https://github.com/apache/cassandra/pull/1615]|[4.1 CI|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/1701/]|[trunk CI|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/1702/]|

[~smiklosovic] mind taking a look?


was (Author: paulo):
|[PR|https://github.com/apache/cassandra/pull/1615]|[4.1 CI|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/1695/]|[trunk CI|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/1696/]|

[~smiklosovic] mind taking a look?

> Expired snapshots of dropped tables are not removed after node restart
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-17619
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17619
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Snapshots
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Normal
>             Fix For: 4.1
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Expired TTL snapshots from a dropped table are only removed if the node is not restarted after the table is dropped.
> The reason for this is because {{SnapshotManager}} is using the old implementation of {{listsnapshots}} to load snapshots in memory during node startup, before CASSANDRA-16843 is fixed so it doesn't keep track of snapshots of dropped tables.
> We should make {{SnapshotManager}} use the new implementation to load snapshots of dropped tables in memory, what ensures they will be removed when expired.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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