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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6b8e329a8bd [chore](hint) update group commit plan fail hint (#32584)
6b8e329a8bd is described below

commit 6b8e329a8bde42aacf834af6f16a041da06b5514
Author: yujun <[email protected]>
AuthorDate: Fri Mar 22 08:30:12 2024 +0800

    [chore](hint) update group commit plan fail hint (#32584)
---
 .../org/apache/doris/cloud/planner/CloudGroupCommitPlanner.java     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/cloud/planner/CloudGroupCommitPlanner.java
 
b/fe/fe-core/src/main/java/org/apache/doris/cloud/planner/CloudGroupCommitPlanner.java
index 8480055e8b9..6978ec65e72 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/cloud/planner/CloudGroupCommitPlanner.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/cloud/planner/CloudGroupCommitPlanner.java
@@ -74,7 +74,11 @@ public class CloudGroupCommitPlanner extends 
GroupCommitPlanner {
             }
         }
 
-        throw new DdlException("No suitable backend for cloud cluster=" + 
cluster);
+        List<String> backendsInfo = backends.stream()
+                .map(be -> "{ beId=" + be.getId() + ", alive=" + be.isAlive() 
+ ", active=" + be.isActive()
+                        + ", decommission=" + be.isDecommissioned() + " }")
+                .collect(Collectors.toList());
+        throw new DdlException("No suitable backend for cloud cluster=" + 
cluster + ", backends = " + backendsInfo);
     }
 
 }


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

Reply via email to