[ https://issues.apache.org/jira/browse/GEODE-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128478#comment-17128478 ]
ASF subversion and git services commented on GEODE-8226: -------------------------------------------------------- Commit e023b547dd48424cf76567f696d81965e152b5ec in geode's branch refs/heads/develop from Darrel Schneider [ https://gitbox.apache.org/repos/asf?p=geode.git;h=e023b54 ] GEODE-8226: change publish to work with non-redis servers present (#5215) Changed PubSubDUnitTest to have an additional non-redis server. This caused multiple tests in it to fail. Changed the publish code that uses the FunctionService to only execute the function on members that have the redis data region. The tests started passing. > redis publish should work even if some members of the cluster are not redis > servers > ----------------------------------------------------------------------------------- > > Key: GEODE-8226 > URL: https://issues.apache.org/jira/browse/GEODE-8226 > Project: Geode > Issue Type: Bug > Components: redis > Reporter: Darrel Schneider > Assignee: Darrel Schneider > Priority: Major > > Steps to reproduce > # Start a locator and server with the redis API's running > {{gfsh start locator > gfsh start server --name=server1 --locators=localhost[10334] --server-port=0 > --redis-port=6379 --redis-bind-address=127.0.0.1}} > # Open 2 terminals, and run Redis-CLI > # On one terminal run the SUBSCRIBE command > # On the other terminal PUBLISH to the channel that the first terminal > SUBSCRIBED (in step 3). > ###This should work correctly. > # Add another server that does NOT have Redis started > {{gfsh start server --name=server1 --locators=localhost[10334] > --server-port=0 --redis-port=6379 --redis-bind-address=127.0.0.1}} > # Repeat Step 4 > Notice that the SUBSCRIBER received multiple messages, and a server error was > thrown from the PUBLISHER. -- This message was sent by Atlassian Jira (v8.3.4#803005)