Skip to content

Commit

Permalink
HBASE-28408 Rephrase confusing log message (#5718)
Browse files Browse the repository at this point in the history
Assume a user has a series of backups: Full1, Inc2, Inc3, where a table has not changed between Full1 and Inc3, but has changed after Inc3. When restoring that table to Inc3, a log warning was outputted mentioning there was no need for a restore. This message in fact means there is no need for the incremental restore portion of the restore process.

Signed-off-by: Nihal Jain <[email protected]>
(cherry picked from commit 102c1b6)
  • Loading branch information
DieterDP-ng authored and NihalJain committed Mar 1, 2024
1 parent 1c41e86 commit acaf76a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ private void restoreImages(BackupImage[] images, TableName sTable, TableName tTa
}

if (dirList.isEmpty()) {
LOG.warn("Nothing has changed, so there is no need to restore '" + sTable + "'");
LOG.info("No incremental changes since full backup for '" + sTable
+ "', skipping incremental restore step.");
return;
}

Expand Down

0 comments on commit acaf76a

Please sign in to comment.