Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-123

ConnectionStateListener advertises READ_ONLY instead of CONNECTED the first time around

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: Client, Framework
    • Environment:
      Ubuntu 12.04
      3 ZK with readonlymode.enabled

      Description

      see Test.java attached.

      When there is only 1 out of 3 zookeeper started, the initial state of the listener is CONNECTED but should be READ_ONLY.

      NOTE: this issue got confused with CURATOR-122 and is being reworded to match CURATOR-122.

        Attachments

        1. Test.java
          2 kB
          Benjamin Jaton

          Activity

            People

            • Assignee:
              randgalt Jordan Zimmerman
              Reporter:
              benjamin.jaton Benjamin Jaton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: