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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 48d16305180 branch-3.1: [fix](cloud) Fixed uneven tablet performance 
during upgrades from older versions #58135 (#58247)
48d16305180 is described below

commit 48d163051808f47cc4837646e63d71a821d155c7
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 25 14:17:34 2025 +0800

    branch-3.1: [fix](cloud) Fixed uneven tablet performance during upgrades 
from older versions #58135 (#58247)
    
    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 f6d1a58c9d3..5b34d299003 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
@@ -651,7 +651,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]

Reply via email to