[
https://issues.apache.org/jira/browse/HDFS-14586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875442#comment-16875442
]
hu yongfa commented on HDFS-14586:
----------------------------------
[~hexiaoqiao] good idea
may be it still need to get current time twice:
1. before calculate {{end}} time, this can avoid sleep more long time than
expect
2. before delete/create checkpoint loop, this can check current time with end
time.
[^HDFS-14586.002.patch]
> Trash missing delete the folder which near timeout checkpoint
> -------------------------------------------------------------
>
> Key: HDFS-14586
> URL: https://issues.apache.org/jira/browse/HDFS-14586
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: hu yongfa
> Assignee: hu yongfa
> Priority: Major
> Attachments: HDFS-14586.001.patch, HDFS-14586.002.patch
>
>
> when trash timeout checkpoint coming, trash will delete the old folder first,
> then create a new checkpoint folder.
> as the delete action may spend a long time, such as 2 minutes, so the new
> checkpoint folder created late.
> at the next trash timeout checkpoint, trash will skip delete the new
> checkpoint folder, because the new checkpoint folder is
> less than a checkpoint interval.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]