Hi Kun,
please see log below
[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] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] Created with target localhost:9096
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] Created with target localhost:9096
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] Exiting idle mode
[io.grpc.internal.ManagedChannelImpl] (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] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] shutdownNow() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] shutdownNow() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] shutdown() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] shutdown() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-6] Shutting down
[io.grpc.internal.ManagedChannelImpl] (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] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Created with target localhost:9097
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Created with target localhost:9097
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Exiting idle mode
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Exiting idle mode
[io.grpc.internal.ManagedChannelImpl] (grpc-default-executor-0)
[io.grpc.internal.ManagedChannelImpl-10] 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-10] 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-10]
io.grpc.internal.InternalSubchannel-12 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-10]
io.grpc.internal.InternalSubchannel-12 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-12] Created
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097
[io.grpc.internal.InternalSubchannel] (grpc-default-executor-0)
[io.grpc.internal.InternalSubchannel-12] Created
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097
[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-5)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097 is being
shutdown with status Status{code=UNAVAILABLE, description=io exception,
cause=io.netty.channel.AbstractChannel$AnnotatedConnectException:
Connection refused: localhost/127.0.0.1:9097
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
... 11 more
}
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-5)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097 is being
shutdown with status Status{code=UNAVAILABLE, description=io exception,
cause=io.netty.channel.AbstractChannel$AnnotatedConnectException:
Connection refused: localhost/127.0.0.1:9097
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
... 11 more
}
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-5)
[io.grpc.internal.InternalSubchannel-12] Created
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-5)
[io.grpc.internal.InternalSubchannel-12] Created
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-5)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097 is
terminated
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-5)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-13 for localhost/127.0.0.1:9097 is
terminated
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097 is
being shutdown with status Status{code=UNAVAILABLE, description=io
exception,
cause=io.netty.channel.AbstractChannel$AnnotatedConnectException:
Connection refused: localhost/0:0:0:0:0:0:0:1:9097
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
... 11 more
}
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097 is
being shutdown with status Status{code=UNAVAILABLE, description=io
exception,
cause=io.netty.channel.AbstractChannel$AnnotatedConnectException:
Connection refused: localhost/0:0:0:0:0:0:0:1:9097
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused
... 11 more
}
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12] Scheduling backoff for 959,842,848
ns
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12] Scheduling backoff for 959,842,848
ns
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097 is
terminated
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-6)
[io.grpc.internal.InternalSubchannel-12]
io.grpc.netty.NettyClientTransport-14 for localhost/0:0:0:0:0:0:0:1:9097 is
terminated
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] shutdownNow() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] shutdownNow() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] shutdown() called
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] shutdown() called
[io.grpc.internal.InternalSubchannel] (safe-5-thread-1)
[io.grpc.internal.InternalSubchannel-12] Terminated in shutdown()
[io.grpc.internal.InternalSubchannel] (safe-5-thread-1)
[io.grpc.internal.InternalSubchannel-12] Terminated in shutdown()
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Terminated
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Terminated
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Shutting down
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-10] Shutting down
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-4] resolved address:
[[addrs=[localhost/127.0.0.1:9096], attrs={}]], config={}
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-4] resolved address:
[[addrs=[localhost/127.0.0.1:9096], attrs={}]], config={}
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-4]
io.grpc.internal.InternalSubchannel-15 created for
[[addrs=[localhost/127.0.0.1:9096], attrs={}]]
[io.grpc.internal.ManagedChannelImpl] (safe-5-thread-1)
[io.grpc.internal.ManagedChannelImpl-4]
io.grpc.internal.InternalSubchannel-15 created for
[[addrs=[localhost/127.0.0.1:9096], attrs={}]]
[io.grpc.internal.InternalSubchannel] (safe-5-thread-1)
[io.grpc.internal.InternalSubchannel-15] Created
io.grpc.netty.NettyClientTransport-16 for localhost/127.0.0.1:9096
[io.grpc.internal.InternalSubchannel] (safe-5-thread-1)
[io.grpc.internal.InternalSubchannel-15] Created
io.grpc.netty.NettyClientTransport-16 for localhost/127.0.0.1:9096
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8)
[io.grpc.internal.InternalSubchannel-15]
io.grpc.netty.NettyClientTransport-16 for localhost/127.0.0.1:9096 is ready
[io.grpc.internal.InternalSubchannel] (grpc-default-worker-ELG-3-8)
[io.grpc.internal.InternalSubchannel-15]
io.grpc.netty.NettyClientTransport-16 for localhost/127.0.0.1:9096 is ready
On Tuesday, January 15, 2019 at 4:32:36 PM UTC-8, Kun Zhang wrote:
>
> I only see logs from ManagedChannelImpl. Can you also enable FINE logging
> for io.grpc.internal.InternalSubchannel? We can find the connection states
> for each Subchannel from there.
>
> On Friday, January 11, 2019 at 2:43:24 PM UTC-8, [email protected]
> wrote:
>>
>> Hi Kun,
>>
>> please see below the logs from the gRPC client, so server1
>> (localhost:9095) is running first, then the client start making requests,
>> afterward, I started up server2 (localhost:9096), then I see the following
>> logs, and the request is not sent to server2.
>>
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Created with target localhost:9095
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Created with target localhost:9095
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Exiting idle mode
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Exiting idle mode
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> resolved address: [[addrs=[localhost/127.0.0.1:9095], attrs={}],
>> [addrs=[localhost/0:0:0:0:0:0:0:1:9095], attrs={}]], config={}
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> resolved address: [[addrs=[localhost/127.0.0.1:9095], attrs={}],
>> [addrs=[localhost/0:0:0:0:0:0:0:1:9095], attrs={}]], config={}
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> io.grpc.internal.InternalSubchannel-14 created for [[addrs=[localhost/
>> 127.0.0.1:9095], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9095],
>> attrs={}]]
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> io.grpc.internal.InternalSubchannel-14 created for [[addrs=[localhost/
>> 127.0.0.1:9095], attrs={}], [addrs=[localhost/0:0:0:0:0:0:0:1:9095],
>> attrs={}]]
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> shutdownNow() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> shutdownNow() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> shutdown() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> shutdown() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Shutting down
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Shutting down
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Created with target localhost:9096
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Created with target localhost:9096
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Terminated
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-12]
>>
>> Terminated
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Exiting idle mode
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Exiting idle mode
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> 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][io.grpc.internal.ManagedChannelImpl-16]
>>
>> 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][io.grpc.internal.ManagedChannelImpl-16]
>>
>> io.grpc.internal.InternalSubchannel-18 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][io.grpc.internal.ManagedChannelImpl-16]
>>
>> io.grpc.internal.InternalSubchannel-18 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][io.grpc.internal.ManagedChannelImpl-16]
>>
>> shutdownNow() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> shutdownNow() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> shutdown() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> shutdown() called
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Shutting down
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Shutting down
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-4]
>> resolved address: [[addrs=[localhost/127.0.0.1:9095], attrs={}],
>> [addrs=[localhost/127.0.0.1:9096], attrs={}]], config={}
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-4]
>> resolved address: [[addrs=[localhost/127.0.0.1:9095], attrs={}],
>> [addrs=[localhost/127.0.0.1:9096], attrs={}]], config={}
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-4]
>> io.grpc.internal.InternalSubchannel-20 created for [[addrs=[localhost/
>> 127.0.0.1:9096], attrs={}]]
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-4]
>> io.grpc.internal.InternalSubchannel-20 created for [[addrs=[localhost/
>> 127.0.0.1:9096], attrs={}]]
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Terminated
>> [io.grpc.internal.ManagedChannelImpl][io.grpc.internal.ManagedChannelImpl-16]
>>
>> Terminated
>>
>>
>> On Thursday, January 10, 2019 at 5:37:55 PM UTC-8, Kun Zhang wrote:
>>>
>>> SubChannel getting created for the new server means round-robin is aware
>>> of this new server and tries to connect.
>>> The creation log starts with the logId of the Subchannel. Do you see any
>>> other logs related to that logId?
>>> My suspicion is that the Subchannel couldn't get connected.
>>>
>>> On Thursday, January 10, 2019 at 4:34:58 PM UTC-8, [email protected]
>>> wrote:
>>>>
>>>> Hi Kun,
>>>>
>>>> Thanks for your reply, I did see that new SubChannel gets created for
>>>> the new server, do you mean that so long as the new server's subchannel
>>>> gets created, it should take effect immediately, meaning the new server
>>>> should also get the traffic?
>>>>
>>>> Thanks a lot!
>>>>
>>>> On Thursday, January 10, 2019 at 4:00:28 PM UTC-8, Kun Zhang wrote:
>>>>>
>>>>> Can you find logs from InternalSubchannel that mention the new server?
>>>>> If the new server can not be connected, round-robin won't use it.
>>>>>
>>>>> On Wednesday, January 9, 2019 at 10:18:47 AM UTC-8,
>>>>> [email protected] 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 [email protected].
To post to this group, send email to [email protected].
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/8c28c664-7880-46d5-a9b4-951da4656539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.