Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCDum-0002WF-39 for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Aug 2020 03:21:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kCDul-00044y-19 for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Aug 2020 03:21:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCDuk-00044r-Q5 for pgsql-hackers@lists.postgresql.org; Sun, 30 Aug 2020 03:21:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCDug-000745-SW for pgsql-hackers@lists.postgresql.org; Sun, 30 Aug 2020 03:21:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 07U3Ljuv3757912; Sat, 29 Aug 2020 23:21:45 -0400 From: Tom Lane To: Thomas Munro cc: Amit Kapila , Magnus Hagander , Andrew Dunstan , Mark Dilger , PostgreSQL Hackers Subject: Re: Windows buildfarm members vs. new async-notify isolation test In-reply-to: References: <32745.1575303812@sss.pgh.pa.us> <7221b3b4-fc7f-404d-5cf6-830d3aa6800d@2ndQuadrant.com> <362bca0b-1c1c-c760-ab19-b5d9a14c69ea@gmail.com> <13003.1575391248@sss.pgh.pa.us> <25746.1575436347@sss.pgh.pa.us> <20102.1575675105@sss.pgh.pa.us> <30330.1575739251@sss.pgh.pa.us> <4412.1575748586@sss.pgh.pa.us> <9110.1575824266@sss.pgh.pa.us> <7254.1575993433@sss.pgh.pa.us> <2985.1576095051@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Sun, 30 Aug 2020 14:52:57 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3757910.1598757705.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 29 Aug 2020 23:21:45 -0400 Message-ID: <3757911.1598757705@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > I made a thing to watch out for low probability BF failures and it > told me that a similar failure in async-notify might have reappeared > on brolga: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dbrolga&dt=3D2= 020-07-15%2008:30:11 > | REL_10_STABLE > [ etc ] Hm, interesting. None of these examples show an actual *failure* to receive a notification, unlike the example that began this thread. So it seems unlikely that back-patching 16114f2ea would help. What we are seeing here, instead, is delayed timing of notify receipt(s). I suspect that this is a variant of the issue described over here: https://www.postgresql.org/message-id/flat/2527507.1598237598%40sss.pgh.pa= .us I didn't have a great idea about how to fix it reliably in insert-conflict-specconflict, and I lack one here too :-(. It's interesting though that your examples are all in v10 or older. Could we have done something that indirectly fixes the problem since then? Or is that just chance? regards, tom lane