Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8226

redis publish should work even if some members of the cluster are not redis servers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • redis
    • None

    Description

      Steps to reproduce

      1. 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}}
      2. Open 2 terminals, and run Redis-CLI
      1. On one terminal run the SUBSCRIBE command
      2. On the other terminal PUBLISH to the channel that the first terminal SUBSCRIBED (in step 3).
        ###This should work correctly.
      1. 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
      2. Repeat Step 4

      Notice that the SUBSCRIBER received multiple messages, and a server error was thrown from the PUBLISHER.

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: