zhiqiang-hhhh commented on code in PR #34215: URL: https://github.com/apache/doris/pull/34215#discussion_r1582028307
########## be/src/runtime/runtime_state.cpp: ########## @@ -556,4 +558,42 @@ bool RuntimeState::is_nereids() const { return _query_ctx->is_nereids(); } +std::vector<std::unique_ptr<RuntimeProfile>>& RuntimeState::pipeline_id_to_profile() { Review Comment: return value is a reference to the vector, after fucntion call, the vector will not be protected by the lock. -- 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