yiguolei commented on code in PR #43212:
URL: https://github.com/apache/doris/pull/43212#discussion_r1827567467
##########
be/src/runtime/fragment_mgr.h:
##########
@@ -148,6 +148,11 @@ class FragmentMgr : public RestMonitorIface {
std::shared_ptr<QueryContext> get_or_erase_query_ctx_with_lock(const
TUniqueId& query_id);
private:
+ struct BrpcItem {
+ std::shared_ptr<PBackendService_Stub> brpc_stub;
+ std::map<std::string, std::weak_ptr<QueryContext>> queries;
Review Comment:
why it is a map? a vector is not ok?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]