How pull replica works

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How pull replica works

Abhishek Mishra
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
Reply | Threaded
Open this post in threaded view
|

Re: How pull replica works

Tomás Fernández Löbbe
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 <[hidden email]>
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
>
Reply | Threaded
Open this post in threaded view
|

Re: How pull replica works

Abhishek Mishra
Thanks, Tomas. It was really helpful.
Regards,
Abhishek

On Thu, Jan 7, 2021 at 7:03 AM Tomás Fernández Löbbe <[hidden email]>
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 <[hidden email]>
> 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
> >
>