kgeisz opened a new pull request, #8845:
URL: https://github.com/apache/hbase/pull/8845

   https://issues.apache.org/jira/browse/HBASE-30526
   
   ## AI Usage
   
   Assisted with Claude Opus 4.6
   
   ## Summary
   
   This PR is a child task of HBASE-30517 (PR #8835). The goal of PR #8835 is 
to make it so the `CustomBackupLocationPitrRestoreHandler.getBackupMetadata()` 
method only gathers PITR metadata for backups in a COMPLETE state.  However, as 
noted by one of the review comments in that PR, the current proposed 
implementation incorrectly relies on the `BackupSystemTable`.
   
   Imagine a scenario where Cluster A has created backups stored in an external 
storage location.  If Cluster B wants to restore one of these backups, then it 
would need to use the `BackupSystemTable` to retrieve each backup's state and 
filter out the non-COMPLETE backups.  The problem is Cluster B's 
`BackupSystemTable` may not be the same as Cluster A's. With the changes in 
this PR, Cluster B can use the `.backup.complete` file in each relevant 
backup's directory to determine if the backup is in a COMPLETE state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to