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

Yi Mei commented on HBASE-26670:
--------------------------------

Pushed to branch-2.4+. Thanks [~zhangduo] and [~apurtell] for reviewing.

> HFileLinkCleaner should be added even if snapshot is disabled
> -------------------------------------------------------------
>
>                 Key: HBASE-26670
>                 URL: https://issues.apache.org/jira/browse/HBASE-26670
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>            Reporter: Yi Mei
>            Assignee: Yi Mei
>            Priority: Critical
>             Fix For: 2.5.0, 2.6.0, 3.0.0-alpha-3, 2.4.11
>
>
> We encountered a problem in our cluster:
> 1. Cluster has many snapshots, cause the archive directory is too big.
> 2. We delete some snapshots, but the cleaner runs slowly because this is a 
> race in synchronized method of SnapshotHFileCleaner.
> 3. We delete all snapshots, and disable snapshot 
> feature(hbase.snapshot.enabled=false), so the cleaner will skip the 
> synchronized method in SnapshotHFileCleaner.
> 4. After cleaner runs, some back reference and data files under archive 
> directory are deleted, but they are still used by some restored tables. This 
> does not meet expectations.
> One solution is add HFileLinkCleaner even if snapshot is disabled.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to