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 80930aaa5be [chore](query err) fix cutting err msg incorrectly (#41456) 80930aaa5be is described below commit 80930aaa5bec3405b7dfda7e74f5afbad4a162e1 Author: yujun <yu.jun.re...@gmail.com> AuthorDate: Tue Oct 8 12:13:43 2024 +0800 [chore](query err) fix cutting err msg incorrectly (#41456) full err msg: ``` Backend Backend [id=93591, host=172.20.50.36, heartbeatPort=9050, alive=true, lastStartTi me=2024-09-12 13:39:46, process epoch=1726119586394, tags: {location=default}] not exists or dead, query 4f199e94e2de4469-a2a0bb9aabfdbc07 should be cancelled ``` was cutted incorrectly: ``` Backend Backend [id=93591, ``` --- fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java index 19f06249aa3..cd083c0450e 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java @@ -1191,15 +1191,6 @@ public class Coordinator implements CoordInterface { } else { String errMsg = copyStatus.getErrorMsg(); LOG.warn("query failed: {}", errMsg); - - // hide host info exclude localhost - if (errMsg.contains("localhost")) { - throw new UserException(errMsg); - } - int hostIndex = errMsg.indexOf("host"); - if (hostIndex != -1) { - errMsg = errMsg.substring(0, hostIndex); - } throw new UserException(errMsg); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org