Re: Windows buildfarm members vs. new async-notify isolation test
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Mark Dilger <hornschnorter@gmail.com>,
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-12-04T05:12:27Z
Lists: pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes: > On Tue, Dec 3, 2019 at 10:10 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Hmm ... just looking at the code again, could it be that there's >> no well-placed CHECK_FOR_INTERRUPTS? Andrew, could you see if >> injecting one in what 790026972 added to postgres.c helps? > I also tried to analyze this failure and it seems this is a good bet, > but I am also wondering why we have never seen such a timing issue in > other somewhat similar tests. For ex., one with comment (# > Cross-backend notification delivery.). Do they have a better way of > ensuring that the notification will be received or is it purely > coincidental that they haven't seen such a symptom? TBH, my bet is that this *won't* fix it, but it seemed like an easy thing to test. For this to fix it, you'd have to suppose that we never do a CHECK_FOR_INTERRUPTS during a COMMIT command, which is improbable at best. regards, tom lane
Commits
-
Use only one thread to handle incoming signals on Windows.
- 16114f2ea0c0 13.0 landed
-
Fix race condition in our Windows signal emulation.
- df44e411c008 9.6.17 landed
- 7309e75fa956 9.4.26 landed
- 1a0c65120137 9.5.21 landed
- 096ea540e1e9 10.12 landed
- 2ed302ab9703 11.7 landed
- 28e6a2fd6358 13.0 landed
- 001362cfdc94 12.2 landed