yiguolei commented on code in PR #38389: URL: https://github.com/apache/doris/pull/38389#discussion_r1691523657
########## be/src/service/internal_service.cpp: ########## @@ -2105,4 +2105,22 @@ void PInternalService::get_wal_queue_size(google::protobuf::RpcController* contr } } +void PInternalService::get_be_resource(google::protobuf::RpcController* controller, + const PGetBeResourceRequest* request, + PGetBeResourceResponse* response, + google::protobuf::Closure* done) { + brpc::ClosureGuard closure_guard(done); + //NOTE: currently not use a thread pool here because get mem_limit is a very lightweight operation Review Comment: 把这个函数放到light pool 里执行,防止出现brpc 卡住的问题 -- 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