Hi, I am using grpc v0.13, async client and server. If client crashes while
sending requests to server, then server is not able to process any further
requests. Even if I restart the client, a new process, then all the
requests fail with the below error.
error_code= [13], details= Received RST_STREAM err=2.
This error goes away only when the server is restarted.
When client crashes then cq->Next gives 2-3 requests with "!ok". Do we need
to handle it somehow/do something in this case ?
Thanks,
Dinesh
----- Code snippet of server ---------------
while (true) {
void* tag;
bool ok;
if (!cq_->Next(&tag, &ok)) {
// Queue is shutting down.
break;
}
if (!ok) {
// Non regular event, skip.
continue;
}
function<void()> handle_rpc_cb = [tag]() {
ServerRpcBaseContext* ctx = ServerRpcBaseContext::detag(tag);
ctx->Proceed();
};
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/c2915601-0b36-4e0c-baff-3c6527848cfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.