This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 1fec96f0a9a branch-4.0: [fix](cloud) Fixed uneven tablet performance
during upgrades from older versions #58135 (#58249)
1fec96f0a9a is described below
commit 1fec96f0a9a2000d660e354aec65c6d51cd3db10
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Nov 27 18:36:30 2025 +0800
branch-4.0: [fix](cloud) Fixed uneven tablet performance during upgrades
from older versions #58135 (#58249)
Cherry-picked from #58135
Co-authored-by: deardeng <[email protected]>
---
.../java/org/apache/doris/cloud/catalog/CloudTabletRebalancer.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudTabletRebalancer.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudTabletRebalancer.java
index 0c631306703..654eb91cf78 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudTabletRebalancer.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/cloud/catalog/CloudTabletRebalancer.java
@@ -657,7 +657,9 @@ public class CloudTabletRebalancer extends MasterDaemon {
// primary backend is alive or dead not long
Backend be = replica.getPrimaryBackend(cluster, false);
if (be != null && (be.isQueryAvailable()
- || (!be.isQueryDisabled() && be.getLastUpdateMs()
> needRehashDeadTime))) {
+ || (!be.isQueryDisabled()
+ // Compatible with older version upgrades, see
https://github.com/apache/doris/pull/42986
+ && (be.getLastUpdateMs() <= 0 ||
be.getLastUpdateMs() > needRehashDeadTime)))) {
beIds.add(be.getId());
tabletIds.add(tablet.getId());
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]