we've been running like this for almost six months now and it's working ok.
We have a post-commit event on the "master" that executes a commit call on
the "slave", this forces the slave to reload the index.

We started with a "standard" master/slave replication, but we had a few
times that the slave got and OOM and it caused a 100% CPU on the master
itself, restart to both didn't help, and we had to shotdown the both, copy
the files from the master to the slave, and continue the replication.
Since we couldn't resolve this issue we moved to this configuration.

Is anybody here working with solr4.0 in production? feels risky...

On Thu, Mar 3, 2011 at 9:31 PM, Jonathan Rochkind <rochk...@jhu.edu> wrote:

> In general, no. I think there are index format changes between 1.4.1 and
> 4.0.
>
> If the two versions of Solr have the exact same index formats, it would
> theoretically work, but you'd need to figure that out and be sure of it, any
> two arbitrary versions of Solr/lucene may or may not have the exact same
> index formats. _Maybe_ 4.0 can read a 1.4.1 index.  In some cases I think
> it's supposed to be able to. But it all starts getting confusing and with
> edge cases where things don't quite work, I personally wouldn't try it.
>
> But personally, I don't like the idea of having two running instances of
> Solr using the exact same on-disk index anyway.  I know people do it, you
> aren't alone, but it makes me nervous, seems like asking for trouble. When
> the indexing instances writes new indexes, when and how is the read-only
> Solr going to figure that out and load new searchers for it?  It just gets
> confusing and complicated.
>
>
>
>
> On 3/3/2011 2:03 PM, Ofer Fort wrote:
>
>> Hey all,
>> I have a master slave using the same index folder, the master only writes,
>> and the slave only reads.
>> Is it possible to use different versions of solr for those two servers?
>> Let's say i want to gain from the improved search speed of solr4.0 but
>> since
>> it's my production system, am not willing to index using it since it's not
>> a
>> stable release.
>> Since the slave only reads, if it will crash i'll just restart it.
>>
>> Can i index using solr 1.4.1 and read the same index with solr 4.0?
>>
>> thanks
>>
>>

Reply via email to