Thanks for answering the question. What happens to the inflight client calls when the server terminates and then restarts? Does the client gets an error "UNAVAILABLE" and they have to add logic to retry the failed call, or gRPC call will just block and returns when server becomes alive?
Regards, Hemendra On Monday, November 8, 2021 at 10:12:58 AM UTC-8 [email protected] wrote: > Hi Hemendra, > > A gRPC channel will reconnect automatically. > > On Sun, Nov 7, 2021 at 7:59 PM Hemendra Rawat <[email protected]> wrote: > >> Hi All, >> >> I'm new to using gRPC framework! >> >> What will happen if the gRPC server process terminates and is restarted >> after few seconds for e.g. 20 seconds delay ? Will the client side channel >> auto reconnect or do I need to add specific logic on client side to handle >> reconnects on server restart? >> >> >> >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/81b09b62-bcba-47e8-bea8-50112985b645n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/81b09b62-bcba-47e8-bea8-50112985b645n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/023430e2-6d76-474f-a392-2bafbdce36cen%40googlegroups.com.
