Hi Kun, Please see the logs below:
[io.grpc.internal.ManagedChannelImpl] (pool-3-thread-1) [io.grpc.internal.ManagedChannelImpl-4] Created with target XXXXXX [io.grpc.internal.ManagedChannelImpl] (pool-3-thread-1) [io.grpc.internal.ManagedChannelImpl-4] Created with target XXXXXX [io.grpc.internal.ManagedChannelImpl] (pool-3-thread-1) [io.grpc.internal.ManagedChannelImpl-4] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (pool-3-thread-1) [io.grpc.internal.ManagedChannelImpl-4] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Created with target localhost:9096 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Created with target localhost:9096 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-6] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-6] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-6] io.grpc.internal.InternalSubchannel-8 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-6] io.grpc.internal.InternalSubchannel-8 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-8] Created io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-8] Created io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Shutting down [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-6] Shutting down [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] io.grpc.internal.InternalSubchannel-10 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] io.grpc.internal.InternalSubchannel-10 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}]] [io.grpc.internal.InternalSubchannel] (name-resolver-safe-5-thread-1) [io.grpc.internal.InternalSubchannel-10] Created io.grpc.netty.NettyClientTransport-11 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (name-resolver-safe-5-thread-1) [io.grpc.internal.InternalSubchannel-10] Created io.grpc.netty.NettyClientTransport-11 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] io.grpc.netty.NettyClientTransport-9 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-3) [io.grpc.internal.InternalSubchannel-8] Terminated in transportTerminated() [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-3) [io.grpc.internal.ManagedChannelImpl-6] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-3) [io.grpc.internal.ManagedChannelImpl-6] Terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-4) [io.grpc.internal.InternalSubchannel-10] io.grpc.netty.NettyClientTransport-11 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-4) [io.grpc.internal.InternalSubchannel-10] io.grpc.netty.NettyClientTransport-11 for localhost/127.0.0.1:9096 is ready * [#####start sending some request to server listening on 9096 #####]* * .... remove the log for the request* * [#####now add new server listening on 9097 #####]* [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Created with target localhost:9096 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Created with target localhost:9096 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-12] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-12] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-12] io.grpc.internal.InternalSubchannel-14 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-12] io.grpc.internal.InternalSubchannel-14 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-14] Created io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-14] Created io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Shutting down [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-12] Shutting down [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Created with target localhost:9097 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Created with target localhost:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] io.grpc.netty.NettyClientTransport-15 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6) [io.grpc.internal.InternalSubchannel-14] Terminated in transportTerminated() [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-6) [io.grpc.internal.ManagedChannelImpl-12] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-6) [io.grpc.internal.ManagedChannelImpl-12] Terminated [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-16] resolved address: [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-16] resolved address: [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-16] io.grpc.internal.InternalSubchannel-18 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-16] io.grpc.internal.InternalSubchannel-18 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-18] Created io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-18] Created io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Shutting down [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-16] Shutting down [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/127.0.0.1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/127.0.0.1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] io.grpc.internal.InternalSubchannel-20 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] io.grpc.internal.InternalSubchannel-20 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] io.grpc.netty.NettyClientTransport-19 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.InternalSubchannel] (name-resolver-safe-5-thread-1) [io.grpc.internal.InternalSubchannel-20] Created io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8) [io.grpc.internal.InternalSubchannel-18] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (name-resolver-safe-5-thread-1) [io.grpc.internal.InternalSubchannel-20] Created io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-8) [io.grpc.internal.ManagedChannelImpl-16] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-8) [io.grpc.internal.ManagedChannelImpl-16] Terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is ready [#### request continues and all goes to server2 ####] [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=RESOURCE_EXHAUSTED, description=Bandwidth exhausted HTTP/2 error code: ENHANCE_YOUR_CALM Received Goaway too_many_pings, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=RESOURCE_EXHAUSTED, description=Bandwidth exhausted HTTP/2 error code: ENHANCE_YOUR_CALM Received Goaway too_many_pings, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] Created io.grpc.netty.NettyClientTransport-22 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] Created io.grpc.netty.NettyClientTransport-22 for localhost/127.0.0.1:9097 2019-01-16 09:09:09,646 WARN [io.grpc.netty.NettyClientHandler] (grpc-default-worker-ELG-3-9) Received GOAWAY with ENHANCE_YOUR_CALM. Debug data: {1} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Created with target localhost:9096 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Created with target localhost:9096 2019-01-16 09:09:09,648 WARN [io.grpc.internal.AtomicBackoff] (grpc-default-worker-ELG-3-9) Increased keepalive time nanos to 20,000,000,000 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Exiting idle mode [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-9) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-21 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-23] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-23] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-23] io.grpc.internal.InternalSubchannel-25 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-23] io.grpc.internal.InternalSubchannel-25 created for [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9096], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-25] Created io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-25] Created io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-10) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-22 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-10) [io.grpc.internal.InternalSubchannel-20] io.grpc.netty.NettyClientTransport-22 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is ready [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Shutting down [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-23] Shutting down [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Created with target localhost:9097 [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Created with target localhost:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] io.grpc.netty.NettyClientTransport-26 for localhost/127.0.0.1:9096 is terminated [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Exiting idle mode [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Exiting idle mode [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-12) [io.grpc.internal.InternalSubchannel-25] Terminated in transportTerminated() [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-12) [io.grpc.internal.ManagedChannelImpl-23] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-12) [io.grpc.internal.ManagedChannelImpl-23] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-27] resolved address: [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-27] resolved address: [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-27] io.grpc.internal.InternalSubchannel-29 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]] [io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0) [io.grpc.internal.ManagedChannelImpl-27] io.grpc.internal.InternalSubchannel-29 created for [[addrs=[localhost/127.0.0.1:9097], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9097], attrs={}]] [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-29] Created io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-executor-0) [io.grpc.internal.InternalSubchannel-29] Created io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is ready [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] shutdownNow() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] shutdown() called [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Shutting down [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-27] Shutting down [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is being shutdown with status Status{code=UNAVAILABLE, description=Channel shutdown invoked, cause=null} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/127.0.0.1:9097], attrs={}]], config={} [io.grpc.internal.ManagedChannelImpl] (name-resolver-safe-5-thread-1) [io.grpc.internal.ManagedChannelImpl-4] resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], [addrs=[localhost/127.0.0.1:9097], attrs={}]], config={} [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] io.grpc.netty.NettyClientTransport-30 for localhost/127.0.0.1:9097 is terminated [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] Terminated in transportTerminated() [io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-14) [io.grpc.internal.InternalSubchannel-29] Terminated in transportTerminated() [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-14) [io.grpc.internal.ManagedChannelImpl-27] Terminated [io.grpc.internal.ManagedChannelImpl] (grpc-default-worker-ELG-3-14) [io.grpc.internal.ManagedChannelImpl-27] Terminated * [##### request logs, which only goes to server 2 #####]* On Wednesday, January 9, 2019 at 10:18:47 AM UTC-8, eleano...@gmail.com wrote: > > Hi, > > in my java gRPC client, when I create the ManagedChannel, I am passing my > custom NameResolver, and using RoundRobinLoadBalancer. When my NameResolver > is notified with a change to the server list (new server added), it will > call Listener.onAddress and pass the updated the list. > > I see from the Log: the onAddress is called from NameResolverListenerImpl, > (9097 is the new server address added) > > resolved address: [[addrs=[localhost/127.0.0.1:9096], attrs={}], > [addrs=[localhost/127.0.0.1:9097], attrs={}]], config={} > > > however, the traffic is not coming to the new server, did I miss anything? > > > Thanks a lot! > > > > > > -- 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 https://groups.google.com/d/msgid/grpc-io/09ab2698-0859-46d5-862f-0a60da027569%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.