amaliujia commented on PR #1664: URL: https://github.com/apache/ratis/pull/1664#issuecomment-6434766718
Server groups are changed actually: 1.`NettyRpcService` uses `new NettyRpcProxy.PeerMap(id.toString(), server.getProperties())` https://github.com/apache/ratis/blob/2da35023579cbffce70f220a025b274aa29bddca/ratis-netty/src/main/java/org/apache/ratis/netty/server/NettyRpcService.java#L101 2. NettyServerStreamRpc.newClient builds a DataStreamClient, which uses NettyClientStreamRpc, to forward streams to other peers. Those forwarding threads become daemon threads as well. It does not seem to be harmful to turn those server groups into daemon threads. But as the PR description says server groups are not changed, just pointing out to verify the intention and impact. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
