Remove condition variables from injection wait logic. - Mailing list pgsql-hackers

From Kirill Reshke
Subject Remove condition variables from injection wait logic.
Date
Msg-id CALdSSPi3kRzvtSzGEDp_b7_tBr0BxSttcYSCAFP+cJ14Wbxp4g@mail.gmail.com
Whole thread Raw
Responses Re: Remove condition variables from injection wait logic.
List pgsql-hackers
$sub proposed in a nearby thread. Looks like we have a consensus that
$subj is beneficial.
I implemented  necessary legwork, namely a clock-based check in the
wait() routine, PFA. I'm not sure the default pg_sleep argument of 50
millisecond is good, but it is fast enough to not spot any difference
in by-hand testing.

[0] https://www.postgresql.org/message-id/aKT7qD0VkGhQgFJe%40paquier.xyz

-- 
Best regards,
Kirill Reshke

Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Conflict detection for update_deleted in logical replication