From 9857a38b637e2c82fa4212dc710f35527dda3268 Mon Sep 17 00:00:00 2001 From: Lei Zhang <27994433+SWJTU-ZhangLei@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:58:14 +0800 Subject: [PATCH] [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 --- .../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 a91dd12b04..0b347f0cbb 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