Re: A failure in t/001_rep_changes.pl - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: A failure in t/001_rep_changes.pl
Date
Msg-id 20240227.150709.1766217736683815840.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: A failure in t/001_rep_changes.pl  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
At Fri, 23 Feb 2024 15:50:21 +0530, vignesh C <vignesh21@gmail.com> wrote in 
> By any chance do you have the log files when this failure occurred, if
> so please share it.

In my understanding, within a single instance, no two proclists can
simultaneously share the same waitlink member of PGPROC.

On the other hand, a publisher uses two condition variables for slots
and WAL waiting, which work on the same PGPROC member cvWaitLink. I
suspect this issue arises from the configuration. However, although it
is unlikly related to this specific issue, a similar problem can arise
in instances that function both as logical publisher and physical
primary.

Regardless of this issue, I think we should provide separate waitlink
members for condition variables that can possibly be used
simultaneously.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: "Andrey M. Borodin"
Date:
Subject: Re: Injection points: some tools to wait and wake
Next
From: Michael Paquier
Date:
Subject: Re: Improve readability by using designated initializers when possible