HBASE-25710 During the recovery process,if there is an incremental backup of data that has not been updated,warning and skip (#3103)
Co-authored-by: 申胜利 <shenshengli@inspur.com> Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
6a8998b29c
commit
05dddafc37
|
@ -170,6 +170,11 @@ public class RestoreTablesClient {
|
|||
|
||||
}
|
||||
|
||||
if (dirList.isEmpty()) {
|
||||
LOG.warn("Nothing has changed, so there is no need to restore '" + sTable + "'");
|
||||
return;
|
||||
}
|
||||
|
||||
String dirs = StringUtils.join(dirList, ",");
|
||||
LOG.info("Restoring '" + sTable + "' to '" + tTable + "' from log dirs: " + dirs);
|
||||
Path[] paths = new Path[dirList.size()];
|
||||
|
|
Loading…
Reference in New Issue