bq: Is there a way that solr can recover without losing docs in this scenario?

Not that I know of currently. SolrCloud is designed to _not_ lose
documents as long
as all leaders are present. And when a leader goes down, assuming
there's a replica
handy docs shouldn't be lost either. But taking down the leader then
starting an out-of-date
replica up and hoping that Solr has somehow magically cached all the
intervening updates
is not a supported scenario. Perhaps SOLR-5468 will help here, I'm not
entirely sure. This
scenario seems out-of-band though.

Best,
Erick

On Sun, May 18, 2014 at 3:12 AM, Anshum Gupta <ans...@anshumgupta.net> wrote:
> SOLR-5468 <https://issues.apache.org/jira/browse/SOLR-5468> might be useful
> for you.
>
>
> On Sun, May 18, 2014 at 1:54 AM, adfel70 <adfe...@gmail.com> wrote:
>
>> *one of the most impotent requirements in my system is not to lose docs and
>> not to retrieve part of the data at query time.*
>>
>> I expect the replica to wait until the real leader will start or
>> at least to sync the real leader with the docs indexed in the replica after
>> starting and syncing the replica with the docs that were indexed to the
>> leader.
>>
>> Is there a way that solr can recover without losing docs in this scenario?
>>
>> Thanks.
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Replica-as-a-leader-tp4135614p4136729.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Anshum Gupta
> http://www.anshumgupta.net

Reply via email to