Sounds like a good idea to me, improving our ability to test quorum configurations would be great.

Patrick

On 06/23/2010 11:46 AM, Sergey Doroshenko wrote:
While incorporating tests for read-only mode, I found I don't like how
QuorumBase, the main utility for quorum testing, is made -- it has 5 fields
for 5 QuorumPeers, also 5 fields for ports, 5 fields for directories. In
general, it's very inflexible (you can't easily shutdown particular peer and
then bring up, etc) and hard-coded.

I think it would be nice to create a class which would setup 2n+1 peers, and
it would be possible to start/stop all peers / particular peer / n+1 peers
etc. And make QuorumBase particular case of this class with n=2.

What do you think?

Reply via email to