Hey Mark,

Thanks for the extra effort in responding :)

Are you ok if I file a jira ticket and complete this feature on trunk?  We need 
this feature for a project.

Jed Glazner
Sr. Software Engineer
Adobe
jglaz...@adobe.com

----- Reply message -----
From: "Mark Miller" <markrmil...@gmail.com>
To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
Subject: How to make a server become a replica / leader for a collection at 
startup
Date: Sun, Aug 19, 2012 9:11 am



Hmm...last email was blocked from the list as spam :)

Let me try again forcing plain text:


Hey Jed,

I think what you are looking for is something I have proposed, but is not
implemented yet. We started with a fairly simple collections API since we
just wanted to make sure we had something in 4.0.

I would like it to be better though. My proposal was that when you create a
new collection with n shards and z replicas, that should be recorded in
ZooKeeper by the Overseer. The Overseer should then watch for when a new
node comes up - then a trigger a process that compares the config for the
collection against the real world - and remove or add based on that info.

I don't think it's that difficult to do, but given a lot of other things we
are working on, and the worry of destabilizing anything before the 4
release, I think it's more likely to come in a point release later. It's
not super complicated work, but there are some tricky corner cases I think.

- Mark

Reply via email to