Re: subscription/015_stream sometimes breaks - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: subscription/015_stream sometimes breaks
Date
Msg-id 20230823084408.psyo7j4ct7ltuj3f@alvherre.pgsql
Whole thread Raw
In response to Re: subscription/015_stream sometimes breaks  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On 2023-Aug-23, Alvaro Herrera wrote:

> And the reason 0002 does not remove the zeroing of ->proc is that the
> tests gets stuck when I do that, and the reason for that looks to be
> some shoddy coding in WaitForReplicationWorkerAttach, so I propose we
> change that too, as in 0003.

Hmm, actually the test got stuck when I ran it repeatedly with this
0003.  I guess there might be other places that depend on ->proc being
set to NULL on exit.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Most hackers will be perfectly comfortable conceptualizing users as entropy
 sources, so let's move on."                               (Nathaniel Smith)



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [dsm] comment typo
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: persist logical slots to disk during shutdown checkpoint