live4thee commented on issue #2265:
URL: https://github.com/apache/brpc/issues/2265#issuecomment-2500306604

   补充一点发现:CC @Tuvie 
   
   1. input_messenger.cpp 报错 `due to unknown message` 时,增加日志打印 
`RdmaEndpoint::DebugInfo()` 的信息如下:
   ```txt
   rdma_state=ON
   handshake_state=ESTABLISHED
   rdma_window_size=125
   rdma_local_window_capacity=125
   rdma_remote_window_capacity=125
   rdma_sbuf_head=60
   rdma_sbuf_tail=60
   rdma_rbuf_head=118
   rdma_unacked_rq_wr=32
   rdma_received_ack=0
   rdma_unsolicited_sent=0
   rdma_unsignaled_sq_wr=14
   ```
   2. 此时,对应的客户端 RPC 请求增加日志打印的 `RdmaEndpoint::DebugInfo()` 信息如下:
   ```txt
   rdma_state=ON
   handshake_state=ESTABLISHED
   rdma_window_size=19
   rdma_local_window_capacity=125
   rdma_remote_window_capacity=125
   rdma_sbuf_head=67
   rdma_sbuf_tail=86
   rdma_rbuf_head=22
   rdma_unacked_rq_wr=0
   rdma_received_ack=0
   rdma_unsolicited_sent=0
   rdma_unsignaled_sq_wr=5
   ```
   
   分析 `unknown message` 的报错日志,原本应该出现在 attachment 里的内容,出现在了 protobuf 里。


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

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