On Tue, Oct 7, 2025 at 10:43 PM shveta malik <[email protected]> wrote:
>
>
> Yes, we can control naptime based on the fact whether any slots are
> being advanced on primary. This is how a slotsync worker does. It
> keeps on doubling the naptime if there is no activity on primary
> starting from 200ms till max of 30 sec. As soon as activity happens,
> naptime is reduced to 200ms again.
>

I have modified the patch to use the same wait logic as the slotsync
worker. I have also incorporated the document changes that you shared.
Attaching v16 with the  above changes.


regards,
Ajin Cherian
Fujitsu Australia

Attachment: v16-0001-Improve-initial-slot-synchronization-in-pg_sync_.patch
Description: Binary data

Reply via email to