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

englefly 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 41f984bb39 [fix](fe) Fix stmt forward #22469
41f984bb39 is described below

commit 41f984bb39946563b2d6fd425e35ba9a8c8e1af5
Author: AKIRA <[email protected]>
AuthorDate: Wed Aug 2 10:34:04 2023 +0800

    [fix](fe) Fix stmt forward #22469
    
    The call of String.format() contains orphan %s that will cause following 
error.
    Introduced from #21205
---
 fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
index c8c158ce87..6e3d9d268c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterOpExecutor.java
@@ -117,7 +117,7 @@ public class MasterOpExecutor {
             // may throw NullPointerException. add err msg
             throw new Exception("Failed to get master client.", e);
         }
-        final StringBuilder forwardMsg = new StringBuilder("forward to master 
FE %s" + thriftAddress.toString());
+        final StringBuilder forwardMsg = new StringBuilder("forward to master 
FE " + thriftAddress.toString());
         if (!params.isSyncJournalOnly()) {
             forwardMsg.append(", statement id: ").append(ctx.getStmtId());
         }


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

Reply via email to