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 1puo9r-00047r-L3 for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 05:39:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1puo9n-0002WQ-O1 for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 05:39:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puo9n-0002WC-DI for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 05:39:03 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1puo9k-000cOA-4N for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 05:39:02 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-304935cc79bso1202263f8f.2 for ; Thu, 04 May 2023 22:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683265138; x=1685857138; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8joZhxftZGflkd9XxZ5S6FpZCB6wqN1QgAhhT/mCJMs=; b=pTc8JMevI5hOn94tun5sRdo2FJAT3hTQTjRqPKqUU/42WofqRMMGkBUuCP+uuqFyGF k1tIEds0UPEUTTC1U1lfBTw636i/wo4/sulaSe0pG49cmaYJyLrTUYd7JBvDD/J9BYZy VLfeyZ3u7g7QxmDmAl1Q6F6lcFo1Nkn5oYnhMGj8EajWfpuoF4TUgJABVNjk02Nr0DxZ fZ7VLEpStbyRXY+8NLU5T2tHerVhR4bAO2WuGFf1DYjmrKvYxei75sTHtg4kusZWHE/R iIMq/jpAAy9z1QBlrc+GoU6bO/L1P+e+scnXJu54ZKiS+EWcuXej8Fs2v7sUbZN1NpZ0 /tsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683265138; x=1685857138; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8joZhxftZGflkd9XxZ5S6FpZCB6wqN1QgAhhT/mCJMs=; b=J0VeSlgu1OYS/GYogTtSDuNMsAYVfUV+QT2/XVdtN2Lslg/bqku5Pw92KXcXNACznU 3lXoe6Zm4lh2QPoEDdn4FfvO9w6Gywy501X4CygpKhh2o4zqPBeTCaoZIyZqSz9MLDS5 xM8Kipdr2ZLzrYLA0ONR4cuSOjvyeFaBwA6lUd0tBXA4CYOStC0ITWW9ipHVmiUAqZOV Polfv44+gLSWSa9gtZIFK5HucMesokTtfUzWIJZFvCQtVJIcDB0XNlzpQGTHwlQXDZo6 4tPB1I8RGtKYLbWiCJJ+tGnIV03fXvNjEwMJPKFazpGwcMFtf48Yb1YvuxdB1C9YSokK D7cQ== X-Gm-Message-State: AC+VfDwwKCiw8DXyS1L152dYjZrvRIYKhskCUBIOcJ6aueFGoP+qnJOW ehFnYdkjzClUMFAymO2BegU= X-Google-Smtp-Source: ACHHUZ51zy4USO3JlBtFiExEGDJ2X6mc5i3FP40UhT/GhflU9l+V40yjAps349tAoAIzJWICGHbhNg== X-Received: by 2002:a05:6000:1cd:b0:2f7:faa0:3f19 with SMTP id t13-20020a05600001cd00b002f7faa03f19mr487480wrx.28.1683265137677; Thu, 04 May 2023 22:38:57 -0700 (PDT) Received: from [192.168.7.14] ([54.239.6.185]) by smtp.gmail.com with ESMTPSA id m11-20020a056000180b00b0030627f58325sm1182397wrh.25.2023.05.04.22.38.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 22:38:57 -0700 (PDT) Message-ID: <6711e200-0d5c-98c3-ba39-7d64a6936f7a@gmail.com> Date: Fri, 5 May 2023 07:38:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Add two missing tests in 035_standby_logical_decoding.pl To: Amit Kapila , vignesh C Cc: "Yu Shi (Fujitsu)" , PostgreSQL Hackers References: <2fefa454-5a70-2174-ddbf-4a0e41537139@gmail.com> <9ab1827c-9a57-8c48-59b2-c5fb62c21be3@gmail.com> <74f80bc1-6b39-b2a8-c716-98beefb75e0b@gmail.com> <17b6b056-4f53-c444-0c94-869547d1a5df@gmail.com> <054defef-de15-53e4-6c5a-d16ccc21d4ba@gmail.com> <8a13f0d8-71f3-773b-7135-5974fd53724b@gmail.com> Content-Language: en-US From: "Drouvot, Bertrand" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 5/4/23 6:43 AM, Amit Kapila wrote: > On Thu, May 4, 2023 at 8:37 AM vignesh C wrote: >> >> Thanks for posting the updated patch, I had run this test in a loop of >> 100 times to verify that there was no failure because of race >> conditions. The 100 times execution passed successfully. >> >> One suggestion: >> "wal file" should be changed to "WAL file": >> +# Request a checkpoint on the standby to trigger the WAL file(s) removal >> +$node_standby->safe_psql('postgres', 'checkpoint;'); >> + >> +# Verify that the wal file has not been retained on the standby >> +my $standby_walfile = $node_standby->data_dir . '/pg_wal/' . $walfile_name; >> > > Thanks for the verification. I have pushed the patch. > It looks like there is still something wrong with this test as there are a bunch of cfbot errors on this new test (mainly on macOS - Ventura - Meson). I'll try to reproduce with more debug infos. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com