Hello

I've been looking for a definitive answer to the question: "is it possible to run Solr on multiple servers with a shared index folder instead of the native master/slave configuration?"

So far I have found two threads in this ml about the topic:
http://lucene.472066.n3.nabble.com/Multiple-Solr-servers-and-a-shared-index-vs-master-slaves-td934359.html
http://lucene.472066.n3.nabble.com/Shared-index-base-td484439.html

But I am still not 100% sure. From what I understand:
1. having many servers serving reads and one doing writes might work - many 
servers doing writes definitely not
2. using lockType=native is a good idea whenever there is more than one process 
at a time accessing the index file...
3. ...which I suppose means that Solr will use flock() calls. Hence the need 
for a filesystem supporting them (eg. ocfs2 and gfs preferred to nfs)
4. "sending commit commands makes readers re-read the indexes"

About point 4: does this mean only the readers on the current server, or the 
readers on other servers too?
If the latter is the case, then this kind of setup is basically only good to have an active/passive cluster with a fast failover, not for doing master/slave load balancing.

Bye
Gaetano

ps: please understand that I'd much rather go with native master/slave or with the upcoming zookeeper-based configurations, but the setup described above I have found installed at some customer...

Reply via email to