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 1scQcw-007Bwz-5B for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Aug 2024 14:29:58 +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 1scQcu-003pCD-TB for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Aug 2024 14:29:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <9erthalion6@gmail.com>) id 1scQcu-003pC5-JG for pgsql-hackers@lists.postgresql.org; Fri, 09 Aug 2024 14:29:56 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <9erthalion6@gmail.com>) id 1scQcr-003ten-M5 for pgsql-hackers@lists.postgresql.org; Fri, 09 Aug 2024 14:29:55 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a7d638a1f27so89542166b.2 for ; Fri, 09 Aug 2024 07:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723213792; x=1723818592; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=PH2ih5MFyIPV2+itMO+8skoPqxVCf5d7gbRfNJfw41k=; b=eef3xVHIOii46X8CuxsjOhd2OQmeTvo5yc3fUav3ILorh38IbbTh++EHR+8B47C7Ra h7uNdYb99wcv8GKUeDGffvI+ISQAe8ZDdAge6TDoP2TqWRzP/m9s4Rk4WxWfQMSZfLCZ 1pBAd1rWxEjg36ZX/2qhhWndh96MV7os2kDyQZpP9qpIGyVmxeC2tLCEvCM/PlEHick0 A1tss5/97kAsYSFqTpL5QDx8eL5sZ3m02jH5V00ylegSR1enn1VUeM1R1dvcEmT6aVo8 pLrzjVNmC7ANjOl+3VCqXMrmcvIqreuU5tcxXOOkhucznkYsnYSr6Byiz3kgyKRe7/Xg wxQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723213792; x=1723818592; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PH2ih5MFyIPV2+itMO+8skoPqxVCf5d7gbRfNJfw41k=; b=PcWYyASfopQcMAjLVZ1vh/dNJJlLQbBAZlnkCgwUqS56IvwjdbFiQtD7Pswh4NHTu6 8qrwnvAShFcDtM/9hn+K8a82UTCLlvTHgiCwInij9vRjX+Eu82RpKnnze+OHxRCmUvVC Z28G5ozzcHC4X2Qmw3Smy7KVOs3l0cyx5P8gBPLXGAfX2A2Tr4hUQpBbTFFdCOpUpaIc 9BbWCxe8O3OwL7kEKKGbG98lcAfNcZLFpeWaOKzczp7E1/+HpjSyKtguXAQl1iZC8x5L gDC95QobCDprb8uGGZnOMK7p26bTqWEM98Ts0IVb6Trae1/NOgvWZlYYVe3VoyAde1UZ mHhg== X-Gm-Message-State: AOJu0YxwzqbnFmoq5/z5gaBZ7rQVS4XBdo7X4lgL6tWicrowohf35+Kf zW/brrf+mJ5dsM/UynTbGSDwdzCadzD2nKXy6LoA3NfXJXPGvFdJ X-Google-Smtp-Source: AGHT+IFJ1Dvy4K0icYJwbvvi2VCIMXEnb7euThHRlGjEt09199T9KIw04lujlXC4B5BJQ7wi0HdGjg== X-Received: by 2002:a05:6402:1ecb:b0:5a2:c1b1:4d3 with SMTP id 4fb4d7f45d1cf-5bd0a61c147mr1578076a12.28.1723213791851; Fri, 09 Aug 2024 07:29:51 -0700 (PDT) Received: from ddolgov-thinkpadt14sgen1.rmtde.csb (dslb-178-005-232-220.178.005.pools.vodafone-ip.de. [178.5.232.220]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bbb2c40084sm1551676a12.37.2024.08.09.07.29.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2024 07:29:51 -0700 (PDT) Date: Fri, 9 Aug 2024 16:29:48 +0200 From: Dmitry Dolgov <9erthalion6@gmail.com> To: Stefan Fercot Cc: "pgsql-hackers@lists.postgresql.org" Subject: Re: Recovery of .partial WAL segments Message-ID: References: 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 > On Fri, Aug 02, 2024 at 08:47:02AM GMT, Stefan Fercot wrote: > > Not sure why CFbot CI fails on macOS/Windows while it works with the Github > CI on my fork ( > https://cirrus-ci.com/github/pgstef/postgres/partial-walseg-recovery). I guess it's because the test has to wait a bit after the node has been started until the log lines will appear. One can see it in the node_pitr3 logs, first it was hit by SELECT pg_is_in_recovery() = 'f' and only some moments later produced restored log file "000000010000000000000003.partial" from archive where the test has those operations in reversed order. Seems like the retry loop from 019_replslot_limit might help.