abhradeepkundu commented on code in PR #7007:
URL: https://github.com/apache/hbase/pull/7007#discussion_r2126812526
##########
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java:
##########
@@ -1056,6 +1056,27 @@ public void addContinuousBackupTableSet(Set<TableName>
tables, long startTimesta
}
}
+ /**
+ * Updates the system table with the new start timestamps for continuous
backup tables.
+ * @param tablesToUpdate The set of tables that need their start
timestamps updated.
+ * @param newStartTimestamp The new start timestamp to be set.
+ */
+ public void updateContinuousBackupTableSet(Set<TableName> tablesToUpdate,
long newStartTimestamp)
+ throws IOException {
+ try (Table table = connection.getTable(tableName)) {
Review Comment:
NIT: Add a null check for tablesToUpdate
--
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]