[ 
https://issues.apache.org/jira/browse/GEODE-8139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sarah Abbey updated GEODE-8139:
-------------------------------
    Description: 
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.

  was:Specify an ephemeral Redis server port with option 0 to be more 
consistent with network services.


> Switch Redis ephmeral port option to 0
> --------------------------------------
>
>                 Key: GEODE-8139
>                 URL: https://issues.apache.org/jira/browse/GEODE-8139
>             Project: Geode
>          Issue Type: Improvement
>          Components: redis
>            Reporter: Sarah Abbey
>            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