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/08/17 23:31:00 UTC

[jira] [Comment Edited] (CASSANDRA-17757) A user should not be able to manually remove ephemeral snapshots

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

Paulo Motta edited comment on CASSANDRA-17757 at 8/17/22 11:30 PM:
-------------------------------------------------------------------

Looks mostly good. Added a few minor comments and created [this PR|https://github.com/instaclustr/cassandra/pull/47] to your branch with cosmetic suggestions. Let me know what do you think.


was (Author: paulo):
Looks mostly good. Added a few minor comments and cosmetic nits to the PR.

> A user should not be able to manually remove ephemeral snapshots
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-17757
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17757
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Local/Snapshots
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> in CASSANDRA-16911 we introduced the "-e" flag to nodetool listsnaphots which are returning ephemerals as well. An operator might try to remove these snapshots by hand. This should not be possible as these snapshots are there for repair to work on and manual removal breaks it. To be complete, these snapshots are removed as part of repair mechanism automatically, or they are removed on the next reboot upon node' start. They should never be removed by a human.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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