You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ga...@apache.org on 2023/03/27 14:00:36 UTC

[doris] branch master updated: [bugfix](addlog) expr context is not closed and will core during deconstructor (#18134)

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

gabriellee 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 ac5b47e515 [bugfix](addlog) expr context is not closed and will core during deconstructor (#18134)
ac5b47e515 is described below

commit ac5b47e515ac770821049b1761e288c12d814b1b
Author: yiguolei <67...@qq.com>
AuthorDate: Mon Mar 27 21:59:46 2023 +0800

    [bugfix](addlog) expr context is not closed and will core during deconstructor (#18134)
---
 be/src/exec/exec_node.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/be/src/exec/exec_node.cpp b/be/src/exec/exec_node.cpp
index 53e5cc7327..d0dde43c93 100644
--- a/be/src/exec/exec_node.cpp
+++ b/be/src/exec/exec_node.cpp
@@ -172,8 +172,11 @@ void ExecNode::release_resource(doris::RuntimeState* state) {
 
 Status ExecNode::close(RuntimeState* state) {
     if (_is_closed) {
+        LOG(INFO) << "fragment_instance_id=" << print_id(state->fragment_instance_id())
+                  << " already closed";
         return Status::OK();
     }
+    LOG(INFO) << "fragment_instance_id=" << print_id(state->fragment_instance_id()) << " closed";
     _is_closed = true;
 
     Status result;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org