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 1puphk-0000MQ-EF for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 07:18:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1puphj-000627-Cu for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 07:18:11 +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 1puphj-00061y-3V for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 07:18:11 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1puphf-000gwD-Hr for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 07:18:10 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f315712406so87669375e9.0 for ; Fri, 05 May 2023 00:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683271086; x=1685863086; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0dvAu8PweuTgv9OfLrPuPK7V/m+uNnGRspJlnyI1JOw=; b=DpcG9qWOgldK1Xd/XptUTNobDXh16C6JZV9RPCnqODnGnCym6VY47d51R/BY5LBWwb 4OJiGV+CEUnGrACFkaV5iPe3dd7XikCPRyIQq1EU1L6Wz2fZgK2ys5wUscRollvJuHbB BYW+sExCtOMwJyjLgHNHbGJcDuguRM6dIQqptBFySdspIEGN9hohmXO75SsHZ3Q5A+Pd SjHTmiEsmVe+UVyMkd4l5ijiTbL1LAqz7dDQUAuNutB32DnCA8WCIuhDmPjP9XtkChEz Q/Pdd6uZvVSYl9BpLZLI7ZeS5+/HZwsP6/huVwIziLGZy1QmrZroV/8iAJ1bnBr3tCEH O3yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683271086; x=1685863086; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0dvAu8PweuTgv9OfLrPuPK7V/m+uNnGRspJlnyI1JOw=; b=KL/DE0+9N/IrCF4pwhzNfNa8gM2rFx2C8+COMTJXfwsStOOJrzJG2ieHV52vs1ngJn DGApmnDYSTLpjP5tSTcZ1y8PJX2f+/b+4G8ZnJmsZ0C4HB3bEHuYmQYXulk7n+DRzNXe /odYko/vXig5Hd5mfxVk8YZAQL75H59Q137XVjOOFdy2EirMV1MTlfWl32Iz2Yb5W8Wz Yw3v7fMXF+d8oay6lgV7dI/aMJtjwKjB46oc1xpMJykqYFKV/NMAMXRCC+afXN2Oqc56 JPrqc/RioqlWuCzS/v0+4R3qn/bOCarK0x0jIgMRsK5K0afN8QnojpSUGC/n8FQHYN+Q nydw== X-Gm-Message-State: AC+VfDw0woMygYOuBIrm+iarBQdKvGND1eNdFykdaLspoeOmMIM4jZl3 c/8NHgZunAgWc+9gREt8Gvg= X-Google-Smtp-Source: ACHHUZ7T79UARuM/ZmqtDRj06yn4Q8uoeFzhSVToxh6oxTdTo2UAITfCAHVOODyN0CapHohZR/Dg0Q== X-Received: by 2002:a05:600c:b90:b0:3f3:fe24:609c with SMTP id fl16-20020a05600c0b9000b003f3fe24609cmr897721wmb.11.1683271085533; Fri, 05 May 2023 00:18:05 -0700 (PDT) Received: from [192.168.7.14] ([54.239.6.185]) by smtp.gmail.com with ESMTPSA id t15-20020a1c770f000000b003f17f9965a7sm7105731wmi.1.2023.05.05.00.18.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 May 2023 00:18:05 -0700 (PDT) Message-ID: <41fc4bff-e733-1bb8-8ae8-37a4b8ab920e@gmail.com> Date: Fri, 5 May 2023 09:18:04 +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 Content-Language: en-US To: vignesh C , Amit Kapila Cc: "Yu Shi (Fujitsu)" , PostgreSQL Hackers References: <2fefa454-5a70-2174-ddbf-4a0e41537139@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> <6711e200-0d5c-98c3-ba39-7d64a6936f7a@gmail.com> 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/5/23 9:11 AM, vignesh C wrote: > On Fri, 5 May 2023 at 12:34, Amit Kapila wrote: >> >> On Fri, May 5, 2023 at 11:08 AM Drouvot, Bertrand >> wrote: >>> >>> 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). >>> >> >> Is it possible for you to point me to those failures? > > I think these failures are occuring in CFBOT, once such instance is at: > https://cirrus-ci.com/task/6642271152504832?logs=test_world#L39 > https://api.cirrus-ci.com/v1/artifact/task/6642271152504832/testrun/build/testrun/recovery/035_standby_logical_decoding/log/regress_log_035_standby_logical_decoding > Yeah, thanks, that's one of them. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com