You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Shashikant Banerjee (Jira)" <ji...@apache.org> on 2021/02/09 05:00:08 UTC

[jira] [Resolved] (HDFS-15817) Rename snapshots while marking them deleted

     [ https://issues.apache.org/jira/browse/HDFS-15817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shashikant Banerjee resolved HDFS-15817.
----------------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

> Rename snapshots while marking them deleted 
> --------------------------------------------
>
>                 Key: HDFS-15817
>                 URL: https://issues.apache.org/jira/browse/HDFS-15817
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> With ordered snapshot feature turned on, a snapshot will be just marked as deleted but won't actually be deleted if its not the oldest one. Since, the snapshot is just marked deleted, creation of  new snapshot having the same name as the one which was marked deleted will fail. In order to mitigate such problems, the idea here is to rename the snapshot getting marked as deleted by appending deletion timestamp along with snapshot id to it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org