hydrozhao opened a new issue, #2609:
URL: https://github.com/apache/brpc/issues/2609

   **Describe the bug (描述bug)**
   在阅读rdma部分代码时,在 `GlobalRdmaInitializeOrDieImpl` 
函数中看到一行比较奇怪的代码。它在全局初始化的过程中调用了IbvCreateCompChannel来创建应该由RdmaEndpoint管理的资源,并且没有对创建的ibv_comp_channel进行销毁。
   请问这行代码符合预期吗?如果符合预期,请问这一行的作用是什么呢?
   
   代码位置 
https://github.com/apache/brpc/blob/d7eca3991f0f38121a4e40831e548d8802fa6b1a/src/brpc/rdma/rdma_helper.cpp#L492
   


-- 
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: dev-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to