You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2024/06/27 19:37:00 UTC

[jira] [Resolved] (HBASE-28687) BackupSystemTable#checkSystemTable should ensure that the backup system tables are enabled

     [ https://issues.apache.org/jira/browse/HBASE-28687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk resolved HBASE-28687.
----------------------------------
    Fix Version/s: 2.7.0
                   3.0.0-beta-2
                   2.6.1
       Resolution: Fixed

Committed to branch-2.6+. Thanks a lot [~rmdmattingly].

> 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
>            Assignee: Ray Mattingly
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2, 2.6.1
>
>
> 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)