chenBright commented on code in PR #3137:
URL: https://github.com/apache/brpc/pull/3137#discussion_r2512867233
##########
src/brpc/rdma/rdma_endpoint.cpp:
##########
@@ -995,6 +1004,17 @@ ssize_t RdmaEndpoint::HandleCompletion(ibv_wc& wc) {
<< wc.opcode;
return -1;
}
+ if (pending_signaled_wrs <= 0) {
Review Comment:
After the client sends _local_window_capacity / 4 + 1 requests, it receives
an ACK and a send CQE from the server. At this point, _window_size increases by
_local_window_capacity / 4 + 1, and sq size increases by _local_window_capacity
/ 4.
The issue of inconsistency between _window_size and sq size still exists.
--
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]