Sigma-Ma opened a new pull request, #8941:
URL: https://github.com/apache/hbase/pull/8941

   JIRA: 
   
   ## What changes were proposed in this pull request?
   
   Require a new full backup before a recreated table can be backed up 
incrementally. Apply WAL boundaries per table when tables share a backup root. 
Existing backup images remain restorable by ID.
   
   ## Why are the changes needed?
   
   After deleting and recreating a table with the same name and column 
families, an incremental restore returned A, A1, and B when the live table 
contained only B. The old full backup supplied A, and the old WAL supplied A1. 
A shared WAL could also bring back A1 after a fresh full backup of the 
recreated table.
   
   ## How was this patch tested?
   
   The new regressions verify the full-backup requirement, recovery of the old 
image, shared WAL filtering, and backup metadata rollback.
   
   ```bash
   mvn -B -ntp -pl hbase-backup 
-Dtest=TestIncrementalBackupAfterTableRecreation,TestIncrementalBackupManager,TestIncrementalBackupDeleteTable,TestIncrementalBackupRestore,TestIncrementalBackupWithBulkLoad,TestIncrementalBackupWithFailures,TestBackupAdminImpl,TestBackupDelete,TestIncrementalBackupWithContinuous,TestPointInTimeRestore
 -Dsurefire.firstPartGroups= -Dsurefire.firstPartForkCount=3 
-Dsurefire.skipSecondPart=true -Dsurefire.failIfNoSpecifiedTests=true 
-Dsurefire.rerunFailingTestsCount=0 test
   
   
SERVER_WAL_TESTS=TestDeleteTableProcedure,TestDeleteTableProcedureWithRecovery
   SERVER_WAL_TESTS+=,TestMasterObserver,TestWALInputFormat,TestWALPlayer
   
   mvn -B -ntp -pl hbase-server,hbase-mapreduce 
-Dtest=TestDeleteTableProcedure,TestDeleteTableProcedureWithRecovery,TestMasterObserver,TestWALInputFormat,TestWALPlayer
 -Dsurefire.firstPartGroups= -Dsurefire.firstPartForkCount=2 
-Dsurefire.skipSecondPart=true -Dsurefire.failIfNoSpecifiedTests=true 
-Dsurefire.rerunFailingTestsCount=0 test
   
   mvn -B -ntp -pl hbase-backup,hbase-mapreduce,hbase-server spotless:check
   ```


-- 
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