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 80f890b776e branch-3.1: [fix](warmup) ensure warmup only triggers if 
tablet exists on target backend #53852 (#53851)
80f890b776e is described below

commit 80f890b776e3841de3829b77627ae265aef45d42
Author: Kaijie Chen <[email protected]>
AuthorDate: Fri Jul 25 14:08:55 2025 +0800

    branch-3.1: [fix](warmup) ensure warmup only triggers if tablet exists on 
target backend #53852 (#53851)
    
    Cherry-pick: #53852
---
 be/src/cloud/cloud_internal_service.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/be/src/cloud/cloud_internal_service.cpp 
b/be/src/cloud/cloud_internal_service.cpp
index 72267252aa6..cb9e20aa9fa 100644
--- a/be/src/cloud/cloud_internal_service.cpp
+++ b/be/src/cloud/cloud_internal_service.cpp
@@ -162,7 +162,10 @@ void 
CloudInternalServiceImpl::warm_up_rowset(google::protobuf::RpcController* c
             continue;
         }
         int64_t tablet_id = rs_meta.tablet_id();
-        auto res = _engine.tablet_mgr().get_tablet(tablet_id);
+        auto res = _engine.tablet_mgr().get_tablet(tablet_id, /* warmup_data = 
*/ false,
+                                                   /* sync_delete_bitmap = */ 
true,
+                                                   /* sync_stats = */ nullptr,
+                                                   /* local_only = */ true);
         if (!res.has_value()) {
             LOG_WARNING("Warm up error ").tag("tablet_id", 
tablet_id).error(res.error());
             continue;


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

Reply via email to