Re: Confused about writing a ZK state.

2014-09-09 Thread Noble Paul
It would be nice if you substantiate this by giving a usecase. The command can be something like a setreplicaprop as a collection API. Yeah , it should be written by the overseer and it should be an overseer command. (I'm not endorsing the idea, just an implementation suggestion) On Mon, Sep 8,

Confused about writing a ZK state.

2014-09-08 Thread Erick Erickson
I'm just not getting it. But then again it's late and the code is unfamiliar Anyway, I'm working on SOLR-6491 for which I want to have a preferredLeader property in ZK. I _think_ this fits best as a property in the same place as the leader prop and it would be a boolean. I.e. the cluster