[ https://issues.apache.org/jira/browse/GEODE-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730390#comment-15730390 ]
ASF subversion and git services commented on GEODE-1835: -------------------------------------------------------- Commit 07d168e6a0304d35f99b2d818bd09cff338e2288 in geode's branch refs/heads/feature/GEODE-1835 from [~abarve] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=07d168e ] 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)