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

dataroaring 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 44ee3b7d104 branch-4.0: [Fix](warmup) Fix coredump in 
`CloudTablet::complete_rowset_segment_warmup` due to capture by reference 
#56395 (#56458)
44ee3b7d104 is described below

commit 44ee3b7d104f89e62bd2e7d900ccb207059c35f4
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Sep 26 11:03:33 2025 +0800

    branch-4.0: [Fix](warmup) Fix coredump in 
`CloudTablet::complete_rowset_segment_warmup` due to capture by reference 
#56395 (#56458)
    
    Cherry-picked from #56395
    
    Co-authored-by: bobhan1 <[email protected]>
---
 be/src/cloud/cloud_warm_up_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/cloud/cloud_warm_up_manager.cpp 
b/be/src/cloud/cloud_warm_up_manager.cpp
index 2ecd6b74fdd..cbd45613444 100644
--- a/be/src/cloud/cloud_warm_up_manager.cpp
+++ b/be/src/cloud/cloud_warm_up_manager.cpp
@@ -154,7 +154,7 @@ void CloudWarmUpManager::submit_download_tasks(io::Path 
path, int64_t file_size,
                         .is_dryrun = 
config::enable_reader_dryrun_when_download_file_cache,
                         .is_warmup = true},
                 .download_done =
-                        [&](Status st) {
+                        [&, done_cb = std::move(done_cb)](Status st) {
                             if (done_cb) done_cb(st);
                             if (!st) {
                                 LOG_WARNING("Warm up error ").error(st);


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

Reply via email to