[ 
https://issues.apache.org/jira/browse/GEODE-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112636#comment-17112636
 ] 

ASF GitHub Bot commented on GEODE-8138:
---------------------------------------

sabbeyPivotal opened a new pull request #5142:
URL: https://github.com/apache/geode/pull/5142


   - Introduce a Geode parameter - `redis-service-enabled` which is `false` by 
default. This parameter determines whether the service is started or not.
   - Set the default `redis-port` value to `6379`
   - `redis-port` range is 0..65535
   - When `redis-port=0`, and `redis-service-enabled=true` the service will 
start on an ephemeral port.
   - When `gfsh` is used with `--redis-port` (or `--redis-bind-address`) it 
should automatically set `redis-service-enabled=true`
   
   `gemfire_properties.html.md.erb` updated as part of this PR: 
https://github.com/apache/geode/pull/5130


----------------------------------------------------------------
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)

Reply via email to