c++ async client unexpectly timeout if I don't call `CQ::Next()`

14 views
Skip to first unread message

Arthur Wang

unread,
Jul 6, 2019, 2:38:39 PM7/6/19
to grpc.io
Hi all :

I observed a VERY strange behavior of the async c++ client, it seems that even if the server has returned the result to the async client within the timeout value, grpc will still report a timeout error just because of you don't fetch the result out from the CQ by calling cq_->Next() !

I can't believe the CompletionQueue is designed like this ! Hope someone could help, details are here:  https://github.com/grpc/grpc/issues/19573 

 Thanks.

- Regards
- Arthur

Juanli Shen

unread,
Jul 10, 2019, 1:33:14 PM7/10/19
to grpc.io
Hy Arthur, I replied in https://github.com/grpc/grpc/issues/19573
Reply all
Reply to author
Forward
0 new messages