[fix](backup) fix backup job finished with error message issue (#7997)

This commit is contained in:
GoGoWen
2022-02-12 16:01:05 +08:00
committed by GitHub
parent b26e7e3c28
commit 1278796e51

View File

@ -243,7 +243,7 @@ public class BackupJob extends AbstractJob {
taskProgress.remove(task.getSignature());
Long oldValue = unfinishedTaskIds.remove(task.getSignature());
taskErrMsg.remove(task.getTabletId());
taskErrMsg.remove(task.getSignature());
LOG.debug("get finished upload snapshot task, unfinished tasks num: {}, remove result: {}. {}",
unfinishedTaskIds.size(), (oldValue != null), this);
return oldValue != null;