On Mon, Mar 5, 2018 at 11:16 AM, <cr2...@gmail.com> wrote:

> Thanks ..  So when I bring down the remote server Current state goes from
> READY to IDLE .  the channel stays in shutdown terminated both to false.
> It seems to stay that way.

On Mon, Mar 5, 2018 at 11:28 AM, <cr2...@gmail.com> wrote:

> I should have pointed out that when queried the state I was using
> .getState(true);

To close the loop here, we've reproduced a bug that would impact this
conversation: https://github.com/grpc/grpc-java/issues/4170 .
getState(true) is currently broken and does not trigger a connect if the
channel was previously connected (there's a few cases it still will, but
they will be uncommon). It does work properly for a new channel, but not
for reconnecting.

Note that we still properly reconnect when doing an RPC. It's only the
getState(true) API that is broken.

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 grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to