This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new cb511c903b8 branch-3.0: [fix](be) Fix be aws-sdk-cpp memory leak
#52185 (#52210)
cb511c903b8 is described below
commit cb511c903b8b965ea67e0f1e621b649f970235d0
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 24 21:52:01 2025 +0800
branch-3.0: [fix](be) Fix be aws-sdk-cpp memory leak #52185 (#52210)
Cherry-picked from #52185
Co-authored-by: Lei Zhang <[email protected]>
---
be/src/runtime/exec_env_init.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/runtime/exec_env_init.cpp b/be/src/runtime/exec_env_init.cpp
index ee0ad2c93f5..fd6f61a294d 100644
--- a/be/src/runtime/exec_env_init.cpp
+++ b/be/src/runtime/exec_env_init.cpp
@@ -349,6 +349,8 @@ Status ExecEnv::_init(const std::vector<StorePath>&
store_paths,
_runtime_query_statistics_mgr->start_report_thread();
_s_ready = true;
+ // Make aws-sdk-cpp InitAPI and ShutdownAPI called in the same thread
+ S3ClientFactory::instance();
return Status::OK();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]