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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 9857a38b637 [fix](fe) Fix `BackendHbResponse` serialization 
compatibility problem (#30441)
9857a38b637 is described below

commit 9857a38b637e2c82fa4212dc710f35527dda3268
Author: Lei Zhang <[email protected]>
AuthorDate: Fri Jan 26 17:58:14 2024 +0800

    [fix](fe) Fix `BackendHbResponse` serialization compatibility problem 
(#30441)
    
    * Similar to https://github.com/apache/doris/pull/30337
    
    * Between branch-1.2-lts and branch-2.1, `FrontendHbResponse` has upgrade
      compatiblity problem, because `arrowFlightSqlPort` field, only 
metaVerserion
      less than FeMetaVersion.VERSION_121 will call 
`BackendHbResponse.readField`
    
    * Introduced by https://github.com/apache/doris/pull/24314
---
 fe/fe-core/src/main/java/org/apache/doris/system/BackendHbResponse.java | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/system/BackendHbResponse.java 
b/fe/fe-core/src/main/java/org/apache/doris/system/BackendHbResponse.java
index a91dd12b049..0b347f0cbb2 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/system/BackendHbResponse.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/system/BackendHbResponse.java
@@ -129,7 +129,6 @@ public class BackendHbResponse extends HeartbeatResponse 
implements Writable {
         bePort = in.readInt();
         httpPort = in.readInt();
         brpcPort = in.readInt();
-        arrowFlightSqlPort = in.readInt();
     }
 
     @Override


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

Reply via email to