yiguolei commented on code in PR #49638: URL: https://github.com/apache/doris/pull/49638#discussion_r2022074209
########## be/src/pipeline/exec/hashjoin_build_sink.cpp: ########## @@ -101,6 +101,16 @@ Status HashJoinBuildSinkLocalState::open(RuntimeState* state) { return Status::OK(); } +Status HashJoinBuildSinkLocalState::terminate(RuntimeState* state) { + SCOPED_TIMER(exec_time_counter()); + if (_terminated) { + return Status::OK(); + } + _shared_state->build_block.reset(); Review Comment: 这个reset 会不会导致,异步的线程访问build block的时候挂掉? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org