public inbox for [email protected]
help / color / mirror / Atom feedFrom: Muhammad Usman Khan <[email protected]>
To: Nikhil Shetty <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Will there be data loss between slot syncronisation
Date: Fri, 25 Oct 2024 09:31:06 +0500
Message-ID: <CAPnRvGv13EDy1m9fLpG8snO7xHim0Ti3D6fdajZDf8DnvUvwTQ@mail.gmail.com> (raw)
In-Reply-To: <CAFpL5VyZNeT62hojHS-qnVrHzo6kRda-NxULdUcfX6KpX3HG+A@mail.gmail.com>
References: <CAFpL5VyZNeT62hojHS-qnVrHzo6kRda-NxULdUcfX6KpX3HG+A@mail.gmail.com>
Hi,
Data loss may occur because unsynced slots may not have fully replicated
all the necessary changes from the primary.
On Thu, 24 Oct 2024 at 22:06, Nikhil Shetty <[email protected]> wrote:
> Hi Team,
>
> As per documentation for sync_replication_slots:
>
> The nap time of the worker is tuned according to the activity on the
> primary. The slot sync worker waits for some time before the next
> synchronization, with the duration varying based on whether any slots were
> updated during the last cycle.
>
> What happens if there is a long period where the standby slot is not
> synced and there is autofailover? Will there be a data loss?
>
> Thanks,
> Nikhil
>
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Will there be data loss between slot syncronisation
In-Reply-To: <CAPnRvGv13EDy1m9fLpG8snO7xHim0Ti3D6fdajZDf8DnvUvwTQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox