New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEODE-9869: Remove geode-for-redis properties from gfsh options #7205
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doc changes LGTM (geode_for_redis.html.md.erb, README.md
--J=-Dgemfire.geode-for-redis-enabled=true \ | ||
--J=-Dgemfire.geode-for-redis-port=<geodeForRedisPort> \ | ||
--J=-Dgemfire.geode-for-redis-bind-address=<geodeForRedisBindAddress> \ | ||
--J=-Dgemfire.geode-for-redis-password=<geodeForRedisPassword> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There doesn't seem to be a geode-for-redis-password
property in the codebase, so references to this should probably be removed from docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, we switched to using a SecurityManager!
``` | ||
|
||
If any of the options `geode-for-redis-bind-address`, `geode-for-redis-password`, or `geode-for-redis-port` | ||
are included, a <%=vars.product_name%> server with <%=vars.product_name%> for Redis will be started. | ||
If the option `geode-for-redis-enabled`, is set to `true`, a <%=vars.product_name%> server with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is wrong to call "geode-for-redis-enabled" an "option". It used to be a gfsh option but is no longer. Consider replacing "option" with "gemfire property".
``` | ||
|
||
If any of the options `geode-for-redis-bind-address`, `geode-for-redis-username`, or `geode-for-redis-port` are included, a Geode server with Geode for Redis will be started. | ||
If the option `geode-for-redis-enabled` is set to `true`, a Geode server with Geode for Redis will be started. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
option once again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this needs a fix. Must be explicitly enabled now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except we're getting rid of the Redis README.md now, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still hoping someday execute_redis_tests.sh will be wrapped in gradle so we don't need to touch the CI framework everytime something in redis changes.
@@ -501,12 +501,6 @@ to true to enable <%=vars.product_name%> for Redis.</td> | |||
<td>false</td> | |||
</tr> | |||
<tr> | |||
<td>geode-for-redis-password</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove this one but not the bind address and username?
--geode-for-redis-password=<geodeForRedisPassword> | ||
--J=-Dgemfire.geode-for-redis-enabled=true \ | ||
--J=-Dgemfire.geode-for-redis-port=<geodeForRedisPort> \ | ||
--J=-Dgemfire.geode-for-redis-bind-address=<geodeForRedisBindAddress> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do these have to be gemfire. or could they be geode.? just since we generally avoid referencing gemfire in geode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it makes sense since other properties use that format, I just wanted us to think about if that is the right approach or if we're following a pattern that doesn't make sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that was discussed and 'gemfire.' won, mostly on 'principle of least surprise' grounds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some arbitrary references to --geode-for-redis
in HyphenFormatterTest
in the gfsh module. Could you also remove or change these please.
Addressed! |
Remove the GFSH options related to geode-for-redis and update docs, examples, and tests to set such options via Java properties.