Hi All, My server implementation is, Async Streaming server.
What is the correct way to stop grpc Async server. As soon as i call this: server_->Shutdown(); cq_->Shutdown(); my handleRpc code (which is blocked on cq->Next ()), i am hitting Assert, as value of "ok" is false. bool ret = cq_->Next(&tag, &ok); GPR_ASSERT(ok); I tried to check the return value for (cq->Next() ) , which is coming as true, but when i checked in manual, it says, Next returns false if server is shutting down. i can skip the assert if ret value is false, but in my case it is coming as true. Does Server expects all calldata instances to be deleted before closing the server as in my case, i am not deleting all calldata instances and directly shutting down the server Please help me, what i am missing here. Thanks Chaitanya -- 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/640ac9c0-ed01-47f9-8dac-9a390aeb563a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
