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.94.2) (envelope-from ) id 1uwUFE-0036Nx-Mv for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Sep 2025 23:28:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uwUFC-0042jL-J2 for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Sep 2025 23:28:55 +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.94.2) (envelope-from ) id 1uwUFC-0042jD-9k for pgsql-hackers@lists.postgresql.org; Wed, 10 Sep 2025 23:28:54 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uwUF8-0005Y8-0i for pgsql-hackers@lists.postgresql.org; Wed, 10 Sep 2025 23:28:53 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 1EA847A0134; Wed, 10 Sep 2025 19:28:50 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Wed, 10 Sep 2025 19:28:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=fm1; t=1757546929; x=1757633329; bh=jFWTC0Yy2z jdzYfUj//+YlAXSZlKcEkApPdTaSwBqCc=; b=K3S050QbqmHjBBGVXc5M63xVBR 34+CZ9IWKD2GlAvnzuUtYDPSIULpAuEAcJeNxJflQP21JcHVN+mKV9J5slHYNmd0 FAKYFFiLS1Ec76V3N9ZXqJtJbN/ZWC6fKiF0B+L1qHH32mZc7Kj3hCtRaReK3eHk SXYUCqzwpXcdKHkynO3eah0Mf1TDYhk1/5zudGwrv4F11ShF7Q316tU72U7/VBkR DGstmNq+zX4svu2+VcD7qIrfBs5YVtuJ0/agtnSZVLmaE8N6/C4EPu09ubyQ9Dtk ov+SWP4mIBHU++xSUC2LldIhXsYk5Fz/VwJiVdI0FtkyTxFESXHSUoRPnLkg== 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=fm1; t= 1757546929; x=1757633329; bh=jFWTC0Yy2zjdzYfUj//+YlAXSZlKcEkApPd TaSwBqCc=; b=H1cDnaBdqniJd2OE0D7lIcZLZANm2OjpcijkHR3GNj6toa9OlhG cuUmJISyLW+a+RUnjK+vuKW9OfvTaJrUPw7f83VfR2YLYaJ+T+XNH6Z7TSal43mk r432SMeStfWtPZ5yVIvc1fNI9C4cycF+CbRjlggVavizg58G11CdEz6MjLmzYCnL 1OuSg78HQLTKtp9V7kTII7nqAQyfQaNNkvvwr3vVf4/rQIVj5LKbiY2O8/t7DBky YQVNEF0Mt5cvLm61K/kQ+RZQ2mS2BSBSBQm3tU2elQGPH8w39ddiOfXKtbhBY5Op JYX6hyo862CeafC0HSkBiQ2jtNjg9wClzlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeeiudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehkohhusg gvrhesghhmrghilhdrtghomhdprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohht rdhpghesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhsse hlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Sep 2025 19:28:47 -0400 (EDT) Date: Thu, 11 Sep 2025 08:28:35 +0900 From: Michael Paquier To: Kouber Saparev Cc: Bertrand Drouvot , pgsql-hackers@lists.postgresql.org Subject: Re: BF mamba failure Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qiJl9CAuOX0n6zCf" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qiJl9CAuOX0n6zCf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 09, 2025 at 04:07:45PM +0300, Kouber Saparev wrote: > Yet again one of our replicas died. Should I file a bug report or > something, what should we do in order to prevent it? Restart the database > every month/week or so?... I don't think we need another bug to report the same problem. We are aware that this may be an issue and that it is hard to track, the problem is to find room to be able to investigate it, at this stage. I may be able to come back to it soon-ishly, looking at how to trigger any race condition. The difficulty is to think how the current code is able to reach this state, because we have a race condition at hand in standbys. As a start, are these failures only in the startup process? Has the startup process reached a consistent state when the problem happens because the replay code is too eager at removing the stats entries? Has it not reached a consistent state. These could be useful hints to extract a reproducible test case, looking for common patterns. I'll ask around if I have seen cases like that in the user pool I have an access to. -- Michael --qiJl9CAuOX0n6zCf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmjCCaMACgkQnvQgOdby QH0PdQ//SfzkqnF/+RxyM4epPFrRF5FFeunh5sv2vIyLIuSXMva8+1tVrZ+W6Jbg GZADqeAqG0WuJkR8UpQWJPwEKlisYp2M6jRfZFX55PGJZ1jEIKx/Vbxtw08Rb9S8 gcnhPyZlMxfLpStpmU4nhMqjSKo8O67/HTVWGLazOWUZ3b4yzq3iRH8oVXiAnODs WHp0TlFYwPdQq42Wbq6jWaw/cujtiLNbPynJtSmZwRbLWX7z59+OldatDsd7g9cu 2/NkDPgeC4bVum7AgpQc6QGmbh8z2nPOmz3m9ZDbhmuy8gMT6SCjLCuHRO3Bggzd PyPIXYeKcmGSRTp6tBT8E/B9skPUPc1sxsCSc3/RA0pd6PrWc/PwB7rWjC3pVMLr rsPL0pcNHtk9ZCwCJ2H1GlLtcoKVnLppqKo+h7B3e8oHE51tkCkN50AcnrkPXzYN mtfn+dGeu1nmXfZAGlUoxxTONhNKds9bgwBPVnhO5vpq11rS2UBrO7DDtUVuWBWh 4MkVqPH2AGxaCjIrO8DJEzIZAErU+FFRu+C6YXnYxurPTJiwCglJ0lN6iKQHwLrh /IvifAXDuDgaQ3zjKGrWfxTVlhPgKu6Tsu+pOKgRzCOe76oL/lOmqosBoq4XHBaO pJCV8NY+bb/U9bdQsweV13c7G9+pUmqJKeuSxh07b5m6BAmvm4k= =QQzO -----END PGP SIGNATURE----- --qiJl9CAuOX0n6zCf--