yiguolei commented on code in PR #34145: URL: https://github.com/apache/doris/pull/34145#discussion_r1590570518
########## be/src/pipeline/dependency.cpp: ########## @@ -178,6 +179,19 @@ LocalExchangeSharedState::LocalExchangeSharedState(int num_instances) { mem_trackers.resize(num_instances, nullptr); } +AggMemData::~AggMemData() { + if (agg_shared_state) { + std::unique_ptr<doris::AttachTask> attach_task; + auto mem_tracker_lable = doris::thread_context()->thread_mem_tracker()->label(); + if (mem_tracker_lable == "Orphan") { Review Comment: 这个为啥可能是 orphan? -- 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