Julien Rouhaud <rjuju123@gmail.com> writes:
> On Mon, Aug 1, 2022 at 5:16 PM Dong Wook Lee <sh95119@gmail.com> wrote:
>> I have no idea how to deal with race conditions.
>> Does anybody know how to deal with this?
> Couldn't you use $node->wait_for_log() instead?
Yeah. The standard usage pattern for that also covers the issue
of not re-examining prior chunks of the log.
regards, tom lane