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 1kHjpW-00033Z-TD for pgsql-committers@arkaria.postgresql.org; Mon, 14 Sep 2020 08:27:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kHjpU-0007h4-NC for pgsql-committers@arkaria.postgresql.org; Mon, 14 Sep 2020 08:27:16 +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 1kHjpU-0007gu-HS for pgsql-committers@lists.postgresql.org; Mon, 14 Sep 2020 08:27:16 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHjpR-0002WM-Od for pgsql-committers@lists.postgresql.org; Mon, 14 Sep 2020 08:27:16 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7BD625C0054; Mon, 14 Sep 2020 04:27:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 14 Sep 2020 04:27:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=ur1CX1ii5oLZ+qp/l7YFDKatzzq LJaH1Qry8eleqDKs=; b=A2K/82prk2a7KCwD9/i90IPY6V7obcESiwKvpsayMbz nkfAaNCBVmIpUn3xD2Hork3xH/ku4C7ArimpMoW2kBsTiq7rnE6tDEMHcljCw7Bg WlxnnDcq3hQl5T8TnB1Tl/yWORhIP5t7J40KlPs///oDAI5+hpzmTFAlRDyKhRtQ qEztgx/pVIMnn9HvpA8iAAD9nJca2+Yhp/NMHWY228d1q/YqdrE4HX2M0HA7SWjd 8emtJ6G74bkLbW4SlvxUOdj60n/nyF1E+fj+EnCFGewORiTrxhug6o1wUL/1Fi1V uKZRoRentZmsJXE1Y4jKvlGrk+wJ+1h0qfntOkpFTrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ur1CX1 ii5oLZ+qp/l7YFDKatzzqLJaH1Qry8eleqDKs=; b=PFZ2EgoBTjALBG3XKq3egQ TKTxHcY8jZDVnidBEg5RUe9YVXlaAAUolhtc3dhOrqH1yJxH7M1WasVGZ7HEyry+ vVx5Z2NB7EPbWT5b5Z6EVP9rh60GBsR03BhxBZS04OTNmskoikA6zcKbf95MABd1 pIvVpiXp3NajDxjANveYdXLCn64p/qP7hrp0oFU6tg/61L67fAYNbb5FQC6GrvJU w/+scuzLzv16ie0ZfK64h+O8sEqRb9hp5aXFev3a+kpElRNdTH7kyQfoj5azfMQL 9LB22It83Dvx+czVO1W/UXT+JEEkcPl1JuzONmfk6Hr7pBcdZJIM233+z/cDE3Cw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeiiedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecukfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqh huihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 061273280065; Mon, 14 Sep 2020 04:27:10 -0400 (EDT) Date: Mon, 14 Sep 2020 17:27:07 +0900 From: Michael Paquier To: Noah Misch Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix race in test of pg_switch_wal(). Message-ID: <20200914082707.GH2183@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r5lq+205vWdkqwtk" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --r5lq+205vWdkqwtk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 14, 2020 at 06:19:38AM +0000, Noah Misch wrote: > Fix race in test of pg_switch_wal(). >=20 > The test failed when something added WAL between pg_switch_wal() and > pg_current_wal_lsn(), seen on buildfarm members hornet and sungazer. > Fix v10, v9.6 and v9.5 by making this code mirror its v13+ counterpart. > v12 and v11 lack a counterpart. Thanks Noah for that, I did not notice those buildfarm failures: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dhornet&dt=3D2020-= 07-24%2010%3A24%3A56 It is fine to ping me or just to begin a thread if there is a problem, I would have taken care of it. Thanks, -- Michael --r5lq+205vWdkqwtk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl9fKVsACgkQnvQgOdby QH1Ukw/8CQybHM0uIf3E1pQiCypCaMU2sX6VTBY6aZjTfVQgQi2Jm/G+xAjfFXrh s/mDDzOKLmNFOhB4HrPlAYQTJ7siSHbvNEPOrW3vIJJAiiO3MB3BR4f5vM0e60S2 hV5Xm5cVdXL1GIP0tjdhdg1iux24OArRgPucWJ7EhVmaf0OCW2lMNbFl8/FY/vRX Tjeq5sqjScxmrCIKxr8jhWsZNNAGPOgZj5gg/izhlv/IZZHsCo47c3LG/Uc0oHBz evNSudFeld+NnNvIMNgykQ4UUaNNsst/ZAFopVYtjGIxfCf5KjQPF7d1Fkg0Quuk 9D0QS67WKfFhLIsX6S0/XddVy4DFPAk6QbUCvdj+4qVv4+U2aa4MY/wfn/twspUV uMXG2D5OJlJRJs1jsmg8WDzLJW8CP7thExK7nGskCDtAj07RwF4w1XnCCEytr/26 Yj4lMG4BerioAEbXROM8qyZN4Kd0dKpXdtrWpDHem4l3CWDjl80KbjRh9cEmo1l0 /tYLeiKuWgYlhCxrlkpQr85hh19FP2pB9ttiyEOnxazF6KYqu6Oj3HIBBEM+3tbI H/Y9sgB6pAYQz2MNV1lTNvZ11rzJj+ONI7aog8FC3YYYi4lvuLPytDbVTatd+82m x9OYnBHM5nqLIGLHtVHM+MPGYDbJ+tTfAcQtpbS70Cv64a/n5bw= =wH0d -----END PGP SIGNATURE----- --r5lq+205vWdkqwtk--