You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Yi Mei (Jira)" <ji...@apache.org> on 2022/01/14 07:38:00 UTC
[jira] [Created] (HBASE-26670) HFileLinkCleaner should be added even if snapshot is disabled
Yi Mei created HBASE-26670:
------------------------------
Summary: 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
Reporter: Yi Mei
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)