What happen if it is multiple core?

Thanks

-----Original Message-----
From: noble.p...@gmail.com [mailto:noble.p...@gmail.com] On Behalf Of Noble 
Paul ??????? ??????
Sent: Friday, November 06, 2009 10:49 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Replication: How to restore data from last snapshot

if it is a single core you will have to restart the master

On Sat, Nov 7, 2009 at 1:55 AM, Osborn Chan <oc...@shutterfly.com> wrote:
> Thanks. But I have following use cases:
>
> 1) Master index is corrupted, but it didn't replicate to slave servers.
>        - In this case, I only need to restore to last snapshot.
> 2) Master index is corrupted, and it has replicated to slave servers.
>        - In this case, I need to restore to last snapshot, and make sure 
> slave servers replicate the restored index from index server as well.
>
> Assuming both cases are in production environment, and I cannot shutdown the 
> master and slave servers.
> Is there any rest API call or something else I can do without manually using 
> linux command and restart?
>
> Thanks,
>
> Osborn
>
> -----Original Message-----
> From: Matthew Runo [mailto:matthew.r...@gmail.com]
> Sent: Friday, November 06, 2009 12:20 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr Replication: How to restore data from last snapshot
>
> If your master index is corrupt and it hasn't been replicated out, you
> should be able to shut down the server and remove the corrupted index
> files. Then copy the replicated index back onto the master and start
> everything back up.
>
> As far as I know, the indexes on the replicated slaves are exactly
> what you'd have on the master, so this method should work.
>
> --Matthew Runo
>
> On Fri, Nov 6, 2009 at 11:41 AM, Osborn Chan <oc...@shutterfly.com> wrote:
>> Hi,
>>
>> I have followed Solr set up ReplicationHandler for index replication to 
>> slave.
>> Do anyone know how to restore corrupted index from snapshot in master, and 
>> force replication of the restored index to slave?
>>
>>
>> Thanks,
>>
>> Osborn
>>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to