yiguolei commented on code in PR #39524:
URL: https://github.com/apache/doris/pull/39524#discussion_r1720945842


##########
be/src/http/action/http_stream.cpp:
##########
@@ -238,31 +238,40 @@ void HttpStreamAction::on_chunk_data(HttpRequest* req) {
     struct evhttp_request* ev_req = req->get_evhttp_request();
     auto evbuf = evhttp_request_get_input_buffer(ev_req);
 
+    SCOPED_ATTACH_TASK(ExecEnv::GetInstance()->stream_load_pipe_tracker());

Review Comment:
   如果你这里不绑定query ctx 对应的memtracker,而byte buffer 是在这里创建的,他的消费可能在query的fragment 
执行,那么最终会泄露



-- 
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

Reply via email to