Hi Otis;

I see that at my admin page:

Replication (Slave)  Version              Gen    Size
Master:                  1367307652512   82      778.04 MB
Slave:                   1367307658862   82      781.05 MB

and I started to figure about it so that's why I asked this question.


2013/5/2 Otis Gospodnetic <otis.gospodne...@gmail.com>

> Hi,
>
> Can you actually make this happen?
>
> Otis
> Solr & ElasticSearch Support
> http://sematext.com/
> On May 2, 2013 8:12 AM, "Furkan KAMACI" <furkankam...@gmail.com> wrote:
>
> > Thanks for the answer. This is what I try to say:
> >
> > time = t
> > Node A (Leader):  version is 100
> > Node B (Replica): version is 90
> >
> > time = t+1
> > Node A (Killing):  version is 100 and killed
> > Node B (Replica): version is 90
> >
> > time = t+2
> > Node A (Killed):  version is 100 and killed
> > Node B (Become Leader): version is 95 (we indexed something)
> >
> > time = t+3
> > Node A (Started as Replica):  version is 100 and live
> > Node B (Leader): version is 95
> >
> > so I think that leader will behind replica. Is there anything different
> for
> > such scenario?
> >
> >
> >
> > 2013/5/2 Otis Gospodnetic <otis.gospodne...@gmail.com>
> >
> > > The leader would not be behind replica because the old leader would not
> > > come back and take over the leader role. It would ne just a replica and
> > it
> > > would replicate the index from whichever node is the leader.
> > >
> > > Otis
> > > Solr & ElasticSearch Support
> > > http://sematext.com/
> > > On Apr 29, 2013 5:31 PM, "Furkan KAMACI" <furkankam...@gmail.com>
> wrote:
> > >
> > > > I think about such situation:
> > > >
> > > > Let's assume that I am indexing at my SolrCloud. My leader has a
> > version
> > > of
> > > > higher than replica as well (I have one leader and one replica for
> each
> > > > shard). If I kill leader, replica will be leader as well. When I
> > startup
> > > > old leader again it will be a replica for my shard.
> > > >
> > > > However I think that leader will have less document than replica and
> a
> > > less
> > > > version than replica. Does it cause a problem because of leader is
> > behing
> > > > of replica?
> > > >
> > >
> >
>

Reply via email to