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

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

commit fd9495b06021cd0b3b3ee6758f6e4799521ac235
Author: Siyang Tang <[email protected]>
AuthorDate: Thu Jul 20 10:45:16 2023 +0800

    [fix](stmt-forward) fix forward null packet (#21979)
---
 .../src/main/java/org/apache/doris/service/FrontendServiceImpl.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java 
b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
index 206bd56d10..462f476c15 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
@@ -906,6 +906,8 @@ public class FrontendServiceImpl implements 
FrontendService.Iface {
         if (params.isSyncJournalOnly()) {
             final TMasterOpResult result = new TMasterOpResult();
             result.setMaxJournalId(Env.getCurrentEnv().getMaxJournalId());
+            // just make the protocol happy
+            result.setPacket("".getBytes());
             return result;
         }
 


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

Reply via email to