Hello Kuroda-san,
25.06.2026 05:04, Hayato Kuroda (Fujitsu) wrote:
> While sleeping, I came up with the idea; instead of waiting until the slot is
> active, we can wait pg_recvlogical receives the ack from the walsender and enters
> the loop. Attached patch implemented like that.
>
> On my env, the patch could resolve the issue. How do you feel?
Thank you for the fix!
I agree with your idea -- It makes sense to me to modify make_slot_active()
so that it returns the handle of pg_recvlogical after it reaches the
desired state from its own perspective.
With the the above repro modification applied, the fixed test passes for
me too.
Best regards,
Alexander