You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Cyrille Artho (JIRA)" <ji...@apache.org> on 2018/01/03 07:13:00 UTC
[jira] [Updated] (GEODE-4183) Code review found likely bug
regarding options/help in ServerLauncher
[ https://issues.apache.org/jira/browse/GEODE-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cyrille Artho updated GEODE-4183:
---------------------------------
Priority: Minor (was: Major)
> Code review found likely bug regarding options/help in ServerLauncher
> ---------------------------------------------------------------------
>
> Key: GEODE-4183
> URL: https://issues.apache.org/jira/browse/GEODE-4183
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Reporter: Cyrille Artho
> Priority: Minor
>
> Both geode.distributed.LocatorLauncher and ServerLauncher have an enumeration "Command", which contains a list of available command types and their options.
> In ServerLauncher, it looks like a typo causes the help/option screens to show incorrect information:
> public enum Command {
> START("start", "assign-buckets", "disable-default-server", "rebalance", SERVER_BIND_ADDRESS,
> "server-port", "force", "debug", "help"),
> In these lines, "SERVER_BIND_ADDRESS" is nested within "START" rather than a command of its own.
> I'm not sure what the output should be, and no tests currently covers that behavior. Therefore, a patch passes the tests, but so does the unchanged code.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)