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