Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7Tjj-0004op-0S for pgsql-committers@arkaria.postgresql.org; Tue, 10 Sep 2019 00:10:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7Tjh-0004v5-Oh for pgsql-committers@arkaria.postgresql.org; Tue, 10 Sep 2019 00:10:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7Tjh-0004uy-I1 for pgsql-committers@lists.postgresql.org; Tue, 10 Sep 2019 00:10:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7Tje-0006CN-Ec for pgsql-committers@lists.postgresql.org; Tue, 10 Sep 2019 00:10:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8A0AB4B025248; Mon, 9 Sep 2019 20:10:11 -0400 From: Tom Lane To: Andres Freund cc: pgsql-committers@lists.postgresql.org, Thomas Munro Subject: Re: pgsql: Reorder EPQ work, to fix rowmark related bugs and improve effici In-reply-to: References: <7216.1568066488@sss.pgh.pa.us> Comments: In-reply-to Andres Freund message dated "Mon, 09 Sep 2019 23:04:47 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25246.1568074211.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 09 Sep 2019 20:10:11 -0400 Message-ID: <25247.1568074211@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On September 9, 2019 11:01:28 PM GMT+01:00, Tom Lane = wrote: >> I think the first question is why is only prairiedog showing this. > We only saw the similar failure on master on a very small number of mach= ines as well. Given The somewhat unusual way packets have to go out to be = likely to be problematic, that's not too surprising. Actually, now that I look at the prior discussion, it was *only* prairiedog that we saw that case on. However, in the last little while mandrill and bowerbird have come up with failures more or less like prairiedog's. Interestingly, bowerbird passed that test the first time, so it's intermittent there. I did just see prairiedog get past eval-plan-qual in master, though it won't finish that run for a good while yet. It appears to me that this is indeed a case of notice-reporting timing problems in isolationtester, since these WARNING messages are handled the same way as notices. I want to try to reproduce manually on prairiedog to confirm that, but it seems like a pretty likely explanation. If that is the explanation, I agree that there's no need for a panic response (ie re-wrapping the beta4 tarball). I doubt that very many people are going to be testing beta4 on machines that are slow enough to observe this issue --- and if there are people testing on slow machines, they probably aren't masochistic enough to be doing check-world, anyway. >>> Tom, do you think we should backpatch both the order fix and the notic= e improvement, or just the former? And to which version? As for that, now that we realize that this applies to more than just NOTICEs, I think we should back-patch the code change in 30717637c at least to v11, maybe all the way. I don't see any WARNINGs in the isolation expected files before v11, but it hardly seems unlikely that we might back-patch some future test that expects those to be printed in a consistent way. The case for back-patching ebd499282 (allow NOTICEs to print) is weaker, but it still seems like it might be a hazard for back-patching test cases if we don't do so. On balance I'm inclined to back-patch both changes. Thoughts? regards, tom lane