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

Hudson commented on HBASE-30526:
--------------------------------

Results for branch master
        [build #1527 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1527/]: 
(/) *{color:green}+1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1527/General_20Nightly_20Build_20Report/]








(/) {color:green}+1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1527/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk21 hadoop3 checks{color}
-- For more information [see jdk21 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1527/JDK21_20Nightly_20Build_20Report_20_28Hadoop3_29/]


> Create a .backup.complete file in the backup directory after a backup succeeds
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-30526
>                 URL: https://issues.apache.org/jira/browse/HBASE-30526
>             Project: HBase
>          Issue Type: Improvement
>          Components: backup&restore
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Kevin Geiszler
>            Assignee: Kevin Geiszler
>            Priority: Major
>              Labels: pull-request-available
>
> HBASE-30517 was created to resolve an issue where 
> {{CustomBackupLocationPitrRestoreHandler.getBackupMetadata()}} was not 
> filtering out non-COMPLETE backups. After further investigation, the only 
> current solution involves using the {{BackupSystemTable}} to get each 
> backup's state and determine whether is is complete.  However, this is not an 
> ideal approach as it creates a dependency on the {{BackupSystemTable}} for 
> backups with a custom backup location.
> Imagine a scenario where Cluster A creates one or more backups that are sent 
> to an external storage location. Then, Cluster B want to perform a restore 
> using one of these backups. If Cluster B's {{BackupSystemTable}} looks 
> different than Cluster A's, then some tables may be left out of the 
> {{{}PitrBackupMetadata{}}}.
> Instead, we should make it so COMPLETE backups have a {{.backup.complete}} 
> marker file within backup diretory on the filesystem. Then, 
> {{CustomBackupLocationPitrRestoreHandler.getBackupMetadata()}} can use this 
> file to filter out non-COMPLETE backups.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to