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

dataroaring pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new be56e40596f [enhancement](bakcup) throw detailed msg for backup or 
restore (#42288) (#42311)
be56e40596f is described below

commit be56e40596f36a858925c295c89b520e86445582
Author: Yongqiang YANG <[email protected]>
AuthorDate: Thu Oct 24 23:28:29 2024 +0800

    [enhancement](bakcup) throw detailed msg for backup or restore (#42288) 
(#42311)
    
    #42288
---
 fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java 
b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java
index 136a13e0005..496727c1e00 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/backup/BackupHandler.java
@@ -274,7 +274,9 @@ public class BackupHandler extends MasterDaemon implements 
Writable {
             AbstractJob currentJob = getCurrentJob(db.getId());
             if (currentJob != null && !currentJob.isDone()) {
                 ErrorReport.reportDdlException(ErrorCode.ERR_COMMON_ERROR,
-                                               "Can only run one backup or 
restore job of a database at same time");
+                                               "Can only run one backup or 
restore job of a database at same time "
+                                               + ", current running: label = " 
+ currentJob.getLabel() + " jobId = "
+                                               + currentJob.getJobId() + ", to 
run label = " + stmt.getLabel());
             }
 
             if (stmt instanceof BackupStmt) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to