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 1u18yf-00Eqed-QC for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Apr 2025 19:14:49 +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 1u18xg-001x8M-6Z for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Apr 2025 19:13:48 +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 1u18xf-001x8D-JV for pgsql-hackers@lists.postgresql.org; Sat, 05 Apr 2025 19:13:48 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u18xd-003anH-0J for pgsql-hackers@postgresql.org; Sat, 05 Apr 2025 19:13:47 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-736aa9d0f2aso3659039b3a.0 for ; Sat, 05 Apr 2025 12:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1743880422; x=1744485222; darn=postgresql.org; h=user-agent: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=wgRLRG020dICX/M5o/C2FEx1HTmcotQuOpg3sXCTUOc=; b=HxV1lERYlt7CqpoFoe/QK1aMTjkXZ51LJuLJvx16pYkk58RCr+kRfef8BGf0f4My+8 JAS84MD49enPkjJTlF1Bu1VOkaj6eR9yAqzq4cn8TrM+vzkZalBqsIPl0HlteiUAYkRQ Xy2o5o5OiBWQjjDC1dogpjoIeKa8MtDRQvIwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743880422; x=1744485222; h=user-agent: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=wgRLRG020dICX/M5o/C2FEx1HTmcotQuOpg3sXCTUOc=; b=cNpS2MEeZX+sdzNxbYtLVLtV/AuP8w9Tx+SVuC1uocJmeEoKY2TZsTMeJstKrGrTSB 9UYKB6fgZJV02Rxdu/uoIeipUHoDcdOHI7cWOGhaG+qy1xkQ2TKuyoJYq1xmJoQCkLv9 1OI24KMgGvIXMJUFB5LHJyqUkkwV+qcUH4yDrXjrOG90Ermb9n6vwWEWnHTzspSwwoG2 XkoMvjiBHx4ajMCc0YIIaxkm/tCkvhpfwb5HfpdvIpFMt4I8cEo5rSD+CqmZJXUd5Qmq MFfNp0MqTUEgMbIxiMr8h84xPMcRrVosKeCxL/eEAUd/vOBn2NJT35KY/LfCIf4Zl+7Q vasQ== X-Forwarded-Encrypted: i=1; AJvYcCX8aNYJEEDuwFqaT2boujeP8eWC+6gDd/R9u78Sd18lMDT1/mHggYuQSQrPwS/rFbvSwb1sIRnORcA4ppXj@postgresql.org X-Gm-Message-State: AOJu0YwOkckMwCD5CSllBkt2/QQuFShxdVdhVTvD4h/FAG6+T5oudEX5 cEBJkpqh8xs57WtKOU4/7OP1uQkCoCwJXEqe83pmRB2/JLn8hqTCLE9FE7NQrA== X-Gm-Gg: ASbGnct6HjvzUgUD9D+5CReVOWPG6QDVGzoGgbvSJfyGCMyhVmRnrUlXHnwasvZMKia qtQaa9wDYmiO55MbmVC2YbAVmFNL+MiQRuQRmSlKs0+pld3/VjTO0j6ISfbuuMbRC7gv2wxMFR8 4oUPxidYNK22Q19k1E/Hr9KkrX6YrlmBOnBECztVyngWsf+NbAj0065l3NWKpr5nF65647L22l4 H2+l+I2jaBtdIX0bb1oP3ZhfdOCM+V523OyiXtIabzSI4kf4+xu2XcXZI6MaHAUjylziMHEeJ0b YoBro3nPmD3Yu3wKInIKk8TtTjCDkxBI/JEsrBU4nA== X-Google-Smtp-Source: AGHT+IEZwIIvl1g/5zPdTU9nu3k1P/KlUQPa8xxQmCCCkOoOco6JbANZT8xmcehGcRHqcSz4B7cGhw== X-Received: by 2002:a05:6a00:3922:b0:736:fff2:99b with SMTP id d2e1a72fcca58-73b6b8f7d08mr4558119b3a.23.1743880422586; Sat, 05 Apr 2025 12:13:42 -0700 (PDT) Received: from google.com ([2601:647:5600:80d0::31cd]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-739d9ea07d5sm5581867b3a.88.2025.04.05.12.13.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Apr 2025 12:13:42 -0700 (PDT) Date: Sat, 5 Apr 2025 12:13:39 -0700 From: Noah Misch To: Tom Lane Cc: Michael Paquier , Nathan Bossart , Andres Freund , Robert Pang , Kyotaro Horiguchi , robertmhaas@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Back-patch of: avoid multiple hard links to same WAL file after a crash Message-ID: <20250405191339.8d.nmisch@google.com> References: <20250306193013.36.nmisch@google.com> <20250311205749.a8.nmisch@google.com> <20250312012315.fd.nmisch@google.com> <20250403002900.5d.nmisch@google.com> <2461391.1743865633@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2461391.1743865633@sss.pgh.pa.us> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Apr 05, 2025 at 11:07:13AM -0400, Tom Lane wrote: > Michael Paquier writes: > > On Wed, Apr 02, 2025 at 05:29:00PM -0700, Noah Misch wrote: > >> Here it is. Making it fail three times took looping 1383s, 5841s, and 2594s. > >> Hence, it couldn't be expected to catch the regression before commit, but it > >> would have made sufficient buildfarm and CI noise in the day after commit. > > > Hmm. Not much of a fan of the addition of a test that has less than > > 1% of reproducibility for the problem, even if it's good to see that > > this can be made portable to run down to v13. > > Yeah, it's good to have a test but I doubt we should commit it. > Too many buildfarm cycles will be expended for too little result. Current extent of our archive recovery restartpoint test coverage: $ grep -c 'restartpoint starting' $(grep -rl 'restored log file' **/log) | grep -v :0 src/bin/pg_combinebackup/tmp_check/log/002_compare_backups_pitr1.log:1 src/test/recovery/tmp_check/log/020_archive_status_standby2.log:1 src/test/recovery/tmp_check/log/002_archiving_standby.log:1 src/test/recovery/tmp_check/log/020_archive_status_standby.log:1 src/test/recovery/tmp_check/log/035_standby_logical_decoding_standby.log:2 Since the 2025-02 releases made non-toy-size archive recoveries fail easily, that's not enough. If the proposed 3-second test is the wrong thing, what instead?