[ https://issues.apache.org/jira/browse/GEODE-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113169#comment-17113169 ]
ASF GitHub Bot commented on GEODE-8138: --------------------------------------- sabbeyPivotal commented on a change in pull request #5142: URL: https://github.com/apache/geode/pull/5142#discussion_r428637710 ########## File path: geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/StartServerCommand.java ########## @@ -301,6 +301,13 @@ ResultModel doStartServer(String memberName, Boolean assignBuckets, String bindA ConfigurationProperties.HTTP_SERVICE_PORT, httpServicePort); StartMemberUtils.setPropertyIfNotNull(gemfireProperties, ConfigurationProperties.HTTP_SERVICE_BIND_ADDRESS, httpServiceBindAddress); + + // if redis-port or redis-bind-address are specified in the command line, + // REDIS_SERVICE_ENABLED should be set to true + if (StringUtils.isNotBlank(redisPassword) || StringUtils.isNotBlank(redisBindAddress)) { Review comment: You are right. What do you think? Maybe it would make sense to enable it if any redis option is specified? ---------------------------------------------------------------- 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: us...@infra.apache.org > Improve semantics of the redis-port option > ------------------------------------------ > > Key: GEODE-8138 > URL: https://issues.apache.org/jira/browse/GEODE-8138 > Project: Geode > Issue Type: New Feature > Components: redis > Reporter: Jens Deppe > Priority: Major > > Currently when {{redis-port=0}} the Redis service is not enabled. Recently we > added the ability to pick an ephemeral port by setting {{redis-port=-1}}. > However the typical norm is that a port of {{0}} should indicate the use of > an ephemeral port. > If we allow this then we need a different way of enabling/disabling the > service. > One possibility is that the service is disabled when {{redis-port=-1}}. (or < > 0). However anyone already setting the property to {{0}} would then suddenly > activate the service. > Another possibility is to add a new Geode property to explicitly > enable/disable the service. (Off by default). That way users, switching to > this version, would still experience the same behavior regardless of their > {{redis-port}} setting. -- This message was sent by Atlassian Jira (v8.3.4#803005)