You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Abhishek Mishra <so...@gmail.com> on 2021/01/06 06:22:53 UTC

How pull replica works

I want to know how pull replica replicate from leader in real? Does
internally admin API get data from the leader in form of batches?

Regards,
Abhishek

Re: How pull replica works

Posted by Abhishek Mishra <so...@gmail.com>.
Thanks, Tomas. It was really helpful.
Regards,
Abhishek

On Thu, Jan 7, 2021 at 7:03 AM Tomás Fernández Löbbe <to...@gmail.com>
wrote:

> Hi Abhishek,
> The pull replicas uses the "/replication" endpoint to copy full segment
> files (sections of the index) from the leader. It works in a similar way to
> the legacy leader/follower replication. This[1] talk tries to explain the
> different replica types and how they work.
>
> HTH,
>
> Tomás
>
> [1] https://www.youtube.com/watch?v=C8C9GRTCSzY
>
> On Tue, Jan 5, 2021 at 10:29 PM Abhishek Mishra <so...@gmail.com>
> wrote:
>
> > I want to know how pull replica replicate from leader in real? Does
> > internally admin API get data from the leader in form of batches?
> >
> > Regards,
> > Abhishek
> >
>

Re: How pull replica works

Posted by Tomás Fernández Löbbe <to...@gmail.com>.
Hi Abhishek,
The pull replicas uses the "/replication" endpoint to copy full segment
files (sections of the index) from the leader. It works in a similar way to
the legacy leader/follower replication. This[1] talk tries to explain the
different replica types and how they work.

HTH,

Tomás

[1] https://www.youtube.com/watch?v=C8C9GRTCSzY

On Tue, Jan 5, 2021 at 10:29 PM Abhishek Mishra <so...@gmail.com>
wrote:

> I want to know how pull replica replicate from leader in real? Does
> internally admin API get data from the leader in form of batches?
>
> Regards,
> Abhishek
>