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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 742a3f657cf [fix](grace-exit) Stop incorrectly of reportwork cause 
heap use after free #32929
742a3f657cf is described below

commit 742a3f657cfa1e2725d613af7d0cac1cf2f6fff8
Author: Xinyi Zou <[email protected]>
AuthorDate: Thu Mar 28 09:08:38 2024 +0800

    [fix](grace-exit) Stop incorrectly of reportwork cause heap use after free 
#32929
---
 be/src/service/doris_main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/service/doris_main.cpp b/be/src/service/doris_main.cpp
index 5960db99214..a218c7be6f1 100644
--- a/be/src/service/doris_main.cpp
+++ b/be/src/service/doris_main.cpp
@@ -619,6 +619,8 @@ int main(int argc, char** argv) {
     LOG(INFO) << "Be server stopped";
     brpc_service.reset(nullptr);
     LOG(INFO) << "Brpc service stopped";
+    service.reset();
+    LOG(INFO) << "Backend Service stopped";
     exec_env->destroy();
     doris::ThreadLocalHandle::del_thread_local_if_count_is_zero();
     LOG(INFO) << "Doris main exited.";


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

Reply via email to