This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 1278796  [fix](backup) fix backup job finished with error message 
issue (#7997)
1278796 is described below

commit 1278796e514bfbe9b2ba598ce8375f76b97fcf07
Author: GoGoWen <82132356+gogo...@users.noreply.github.com>
AuthorDate: Sat Feb 12 16:01:05 2022 +0800

    [fix](backup) fix backup job finished with error message issue (#7997)
---
 fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java 
b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
index 55f676e..bebe825 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupJob.java
@@ -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;

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to