You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/07/20 14:37:26 UTC

[doris] 08/25: [fix](stmt-forward) fix forward null packet (#21979)

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 <82...@users.noreply.github.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org