[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
This commit is contained in:
Lei Zhang
2024-01-26 17:58:14 +08:00
committed by GitHub
parent 64f7a5f395
commit 9857a38b63

View File

@ -129,7 +129,6 @@ public class BackendHbResponse extends HeartbeatResponse implements Writable {
bePort = in.readInt();
httpPort = in.readInt();
brpcPort = in.readInt();
arrowFlightSqlPort = in.readInt();
}
@Override