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 1n329S-0007Wd-QP for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Dec 2021 20:35:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n329R-0003iO-B6 for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Dec 2021 20:35:53 +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 1n329R-0003iF-23 for pgsql-hackers@lists.postgresql.org; Thu, 30 Dec 2021 20:35:53 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n329O-0003sg-Ea for pgsql-hackers@postgresql.org; Thu, 30 Dec 2021 20:35:52 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3839440006; Thu, 30 Dec 2021 20:35:46 +0000 (UTC) Message-ID: Date: Thu, 30 Dec 2021 15:35:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: Why is src/test/modules/committs/t/002_standby.pl flaky? Content-Language: en-US To: Thomas Munro , pgsql-hackers References: From: Andrew Dunstan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/30/21 15:01, Thomas Munro wrote: > Hi, > > There's a wait for replay that is open coded (instead of using the > wait_for_catchup() routine), and sometimes the second of two such > waits at line 51 (in master) times out after 3 minutes with "standby > never caught up". It's happening on three particular Windows boxes, > but once also happened on the AIX box "tern". > > branch | animal | count > ---------------+-----------+------- > HEAD | drongo | 1 > HEAD | fairywren | 8 > REL_10_STABLE | drongo | 3 > REL_10_STABLE | fairywren | 10 > REL_10_STABLE | jacana | 3 > REL_11_STABLE | drongo | 1 > REL_11_STABLE | fairywren | 4 > REL_11_STABLE | jacana | 3 > REL_12_STABLE | drongo | 2 > REL_12_STABLE | fairywren | 5 > REL_12_STABLE | jacana | 1 > REL_12_STABLE | tern | 1 > REL_13_STABLE | fairywren | 3 > REL_14_STABLE | drongo | 2 > REL_14_STABLE | fairywren | 6 > > FYI, drongo and fairywren are run on the same AWS/EC2 Windows Server 2019 instance. Nothing else runs on it. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com