You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/08/31 16:32:58 UTC
[GitHub] [geode] dschneider-pivotal commented on a change in pull request #5483: GEODE-8462: Make geode server startup fail if geode redis server has a port conflict
dschneider-pivotal commented on a change in pull request #5483:
URL: https://github.com/apache/geode/pull/5483#discussion_r480247313
##########
File path: geode-redis/src/main/java/org/apache/geode/redis/internal/netty/NettyRedisServer.java
##########
@@ -99,7 +99,7 @@ public NettyRedisServer(Supplier<DistributionConfig> configSupplier,
throw new IllegalArgumentException("Redis port cannot be less than 0");
}
this.bindAddress = getBindAddress(requestedAddress);
- selectorGroup = createEventLoopGroup("Selector", false, 1);
+ selectorGroup = createEventLoopGroup("Selector", true, 1);
Review comment:
Was this non-daemon thread still hanging around and that caused problems? It might be okay for this to be daemon threads (that allows the JVM to exit without shutting down the redis server) but we should probably still do some cleanup of these groups before we throw the ManagementException. We should try calling the "stop" method before throwing the ManagementException
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org