Benjamin Jaton created CURATOR-359:
--------------------------------------

             Summary: Curator can't connect to Read Only ensemble
                 Key: CURATOR-359
                 URL: https://issues.apache.org/jira/browse/CURATOR-359
             Project: Apache Curator
          Issue Type: Bug
            Reporter: Benjamin Jaton
            Assignee: Jordan Zimmerman
            Priority: Critical


The read requests fail when connecting to a read only ensemble.

I made a class for this using TestingCluster, but it requires to set iptables 
rules in order to mimic a real (remote) read-only ensemble. The test will do 
this:
1) start a TestingCluster
2) stop 2 of the 3 nodes
3) user has to run the iptables commands (specified in the logs)
4) a read request is issued every 3 seconds

All the read requests block for approx 2 minutes, then they all throw an 
exception (ConnectionLoss).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to