ankitsol commented on code in PR #7400:
URL: https://github.com/apache/hbase/pull/7400#discussion_r2452364203


##########
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupObserver.java:
##########
@@ -96,8 +96,11 @@ private void registerBulkLoad(ObserverContext<? extends 
RegionCoprocessorEnviron
     try (Connection connection = ConnectionFactory.createConnection(cfg);
       BackupSystemTable tbl = new BackupSystemTable(connection)) {
       Set<TableName> fullyBackedUpTables = tbl.getTablesIncludedInBackups();
+      Map<TableName, Long> continuousBackupTableSet = 
tbl.getContinuousBackupTableSet();
 
-      if (fullyBackedUpTables.contains(tableName)) {
+      if (
+        fullyBackedUpTables.contains(tableName) && 
!continuousBackupTableSet.containsKey(tableName)

Review Comment:
   `BackupObserver#registerBulkLoad` is called for each bulkload operation, 
even if it's for same table multiple times



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