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

ASF subversion and git services commented on GEODE-1835:
--------------------------------------------------------

Commit 28efd90290b519d9fe531c826ee4c6e606bcd8e4 in geode's branch 
refs/heads/feature/GEODE-1027 from [~abarve]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=28efd90 ]

GEODE-1835 : logging a warning message by the configure pdx command only
when there are members in the distributed system.


> A message logged by the configure pdx command is incorrect
> ----------------------------------------------------------
>
>                 Key: GEODE-1835
>                 URL: https://issues.apache.org/jira/browse/GEODE-1835
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh
>            Reporter: Barry Oglesby
>            Assignee: Amey Barve
>
> The message below is only logged when there are no members. Instead, it 
> should be logged when there are members.
> {noformat}
> The command would only take effect on new data members joining the 
> distributed system. It won't affect the existing data members
> {noformat}
> The condition in {{PDXCommands.configurePDX}} is:
> {noformat}
> if (CliUtil.getAllNormalMembers(CliUtil.getCacheIfExists()).isEmpty()) {
>   ird.addLine(CliStrings.CONFIGURE_PDX__NORMAL__MEMBERS__WARNING);
> }
> {noformat}
> It should test for {{!isEmpty}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to