You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ray Mattingly (Jira)" <ji...@apache.org> on 2024/06/21 16:40:00 UTC
[jira] [Created] (HBASE-28687) BackupSystemTable#checkSystemTable should ensure that the backup system tables are enabled
Ray Mattingly created HBASE-28687:
-------------------------------------
Summary: BackupSystemTable#checkSystemTable should ensure that the backup system tables are enabled
Key: HBASE-28687
URL: https://issues.apache.org/jira/browse/HBASE-28687
Project: HBase
Issue Type: Improvement
Affects Versions: 2.6.0
Reporter: Ray Mattingly
If the backup system tables become disabled, then we enter a state which the backup client will not recover from. Without manual intervention, every subsequent backup attempt will fail on [BackupSystemTable's calls to waitForSystemTable|https://github.com/apache/hbase/blob/3a3dd66e21da3f85c72d75605857713716d579fb/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java#L214-L215].
This checkSystemTable method already ensures that the tables exist — it should also ensure that the tables are enabled before we await that condition.
Alternatively, we could fast-fail if the tables are disabled rather than awaiting an enabled state that will never occur.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)