Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdHTX-00GD6m-24 for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jan 2026 00:32:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vdHTW-00B7Er-1q for pgsql-hackers@arkaria.postgresql.org; Wed, 07 Jan 2026 00:32:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdHTV-00B7Ei-2H for pgsql-hackers@lists.postgresql.org; Wed, 07 Jan 2026 00:32:35 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdHTT-004zK8-09 for pgsql-hackers@lists.postgresql.org; Wed, 07 Jan 2026 00:32:34 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 8DEEBEC0191; Tue, 6 Jan 2026 19:32:28 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Tue, 06 Jan 2026 19:32:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1767745948; x=1767832348; bh=YmYrvj1c77 IFI4BjiZjeDsV8yGmWCucGrrqKhW4AMUc=; b=YGoWhgozPx7n4OYEdR8tMA6sPm 8ORMqMHjzw/rI3kVHpvbx+FYZUOloloD7xcZfleYDLME+oiVt+H7UG4IS5M1Xj/Y za0aWI0hFi3ZIuDLnXpeaaCGubbdGBaR92r2DRv3AiiiQzUyKY+cvHhXCfm7rGKG LbEkeja4GFDrAFzS4ghEiVtkGdj88Wha4WOxW60nxogWvb9ciXuExO9Vb+HwVKVL 4mSU4vwKQnESN51fgAxtpLbdOeS7IiJRKfCT7AhMMxTTEGs+j5UjAhXrof0Va4fk 1DncsQ6a2fK7eDl8kj8z1QWkakNxn6AYhnKAXSEKmCoVdmEFwwsV/YEgOPmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1767745948; x=1767832348; bh=YmYrvj1c77IFI4BjiZjeDsV8yGmWCucGrrq KhW4AMUc=; b=0BPNsbfMWEHcqrQGPyNNpAKHqM5cL6cJQKxFJvsSJc4M/rpx287 z4yKocjVLCebZJxMJE1BUdRMDOlDXXbrFSEpukT0mqP/LlEqjS4EfK0JPWpQ8LXH 04EcUn/N95G9AZJYIxqFgOvqw+Ko6bkVuPzHO8cQLgN0fwY/7lNybo0MXbrewtDj lejduvRu7SQ3HjbJyJUb9RBPWdiva7OxY9zxv/Kt87dknlRU5P6HBleyI9KO1nZK IwjO4Yug/mmP8fE3Ww4YK1Q3GfpQ8vUuyezRczLaZ6XN8pl5dCobPBaRaDHktHSw IYkspe1N5YGQj++uXILKaGQsQyQD/2ryi9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddutdduieegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnheptedvvedvteelueeljeelhfelgfdvffeghfeljeelgfdtudevvdekveeggefg ieeinecuffhomhgrihhnpegtihhrrhhushdqtghirdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigv lhdruggvpdhnsggprhgtphhtthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htoheprggvkhhorhhothhkohhvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhhirghn rdhunhhivhgvrhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopehlihdrvg hvrghnrdgthhgrohesghhmrghilhdrtghomhdprhgtphhtthhopehthhhomhgrshdrmhhu nhhrohesghhmrghilhdrtghomhdprhgtphhtthhopeiguhhnvghnghiihhhouhesghhmrg hilhdrtghomhdprhgtphhtthhopegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgdp rhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvsh hqlhdrohhrghdprhgtphhtthhopehmihgthhgrvghlsehprghquhhivghrrdighiiipdhr tghpthhtohephidrshhokhholhhovhesphhoshhtghhrvghsphhrohdrrhhu X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Jan 2026 19:32:26 -0500 (EST) Date: Tue, 6 Jan 2026 19:32:26 -0500 From: Andres Freund To: Thomas Munro Cc: Xuneng Zhou , Alexander Korotkov , =?utf-8?Q?=C3=81lvaro?= Herrera , Chao Li , pgsql-hackers , Michael Paquier , jian he , Tomas Vondra , Yura Sokolov Subject: Re: Implement waiting for wal lsn replay: reloaded Message-ID: References: <202601011659.ikh4ku4p3ovb@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-01-06 18:42:59 +1300, Thomas Munro wrote: > Could this be causing the recent flapping failures on CI/macOS in > recovery/031_recovery_conflict? I didn't have time to dig personally > but f30848cb looks relevant: > > Waiting for replication conn standby's replay_lsn to pass 0/03467F58 on primary > error running SQL: 'psql::1: ERROR: canceling statement due to > conflict with recovery > DETAIL: User was or might have been using tablespace that must be dropped.' > while running 'psql --no-psqlrc --no-align --tuples-only --quiet > --dbname port=25195 > host=/var/folders/g9/7rkt8rt1241bwwhd3_s8ndp40000gn/T/LqcCJnsueI > dbname='postgres' --file - --variable ON_ERROR_STOP=1' with sql 'WAIT > FOR LSN '0/03467F58' WITH (MODE 'standby_replay', timeout '180s', > no_throw);' at /Users/admin/pgsql/src/test/perl/PostgreSQL/Test/Cluster.pm > line 2300. > > https://cirrus-ci.com/task/5771274900733952 > > The master branch in time-descending order, macOS tasks only: > > task_id | substring | status > ------------------+-----------+----------- > 6460882231754752 | c970bdc0 | FAILED > 5771274900733952 | 6ca8506e | FAILED > 6217757068361728 | 63ed3bc7 | FAILED > 5980650261446656 | ae283736 | FAILED > 6585898394976256 | 5f13999a | COMPLETED > 4527474786172928 | 7f9acc9b | COMPLETED > 4826100842364928 | e8d4e94a | COMPLETED > 4540563027918848 | b9ee5f2d | FAILED > 6358528648019968 | c5af141c | FAILED > 5998005284765696 | e212a0f8 | COMPLETED > 6488580526178304 | b85d5dc0 | FAILED > 5034091344560128 | 7dc95cc3 | ABORTED > 5688692477526016 | bb048e31 | COMPLETED > 5481187977723904 | d351063e | COMPLETED > 5101831568752640 | f30848cb | COMPLETED <-- the change > 6395317408497664 | 3f33b63d | COMPLETED > 6741325208354816 | 877ae5db | COMPLETED > 4594007789010944 | de746e0d | COMPLETED > 6497208998035456 | 461b8cc9 | COMPLETED The failure rates of this are very high - the majority of the CI runs on the postgres/postgres repos failed since the change went in. Which then also means cfbot has a very high spurious failure rate. I think we need to revert this change until the problem has been verified as fixed. Greetings, Andres Freund