curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim <va...@ant.ee>
Subject Re: Curator and ReadOnly
Date Wed, 23 Nov 2016 21:15:15 GMT
Benjamin, 

      Can you specify Zookeeper version you use and whether you set up
"READONLYMODE.ENABLED" to true? By default read-only mode for ZK server
is disabled. 

Vadim.

On 2016-11-23 22:03, Benjamin Jaton wrote:

> Hello,
> 
> Before I open a new JIRA for this, I wanted to bring it up here first.
> 
> Basically the issue I'm seeing is that the read requests fail when connecting to a read
only ensemble.
> 
> I made a test 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).
> 
> I was wondering if other users were using Curator with a read only ensemble?
> 
> Thanks
> Benjamin
 
Mime
View raw message