[
https://issues.apache.org/jira/browse/HDFS-15817?focusedWorklogId=548074&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-548074
]
ASF GitHub Bot logged work on HDFS-15817:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Feb/21 07:53
Start Date: 05/Feb/21 07:53
Worklog Time Spent: 10m
Work Description: bshashikant commented on pull request #2677:
URL: https://github.com/apache/hadoop/pull/2677#issuecomment-773861987
Appending a timestamp to the deleted snapshot name may lead to different
names being generated pre and post restart of namenode during edit log replay.
Therefore, the idea here is to just append the snapshot Id which will remain
constant.
@szetszwo , can you have a look.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 548074)
Time Spent: 40m (was: 0.5h)
> 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
> Time Spent: 40m
> 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: [email protected]
For additional commands, e-mail: [email protected]