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 8023821bf39 branch-3.1: [fix](filecache) fix stack-use-after-return
when submit_download_tasks #57724 (#57785)
8023821bf39 is described below
commit 8023821bf397e9ce5647affacfd6433bb18ab622
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Nov 7 15:37:33 2025 +0800
branch-3.1: [fix](filecache) fix stack-use-after-return when
submit_download_tasks #57724 (#57785)
Cherry-picked from #57724
Co-authored-by: zhengyu <[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 ba582b40eaf..3a1273423be 100644
--- a/be/src/cloud/cloud_warm_up_manager.cpp
+++ b/be/src/cloud/cloud_warm_up_manager.cpp
@@ -152,7 +152,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 =
- [&, done_cb = std::move(done_cb)](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]