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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • Client, Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: