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.96) (envelope-from ) id 1wt0LA-000vlS-2w for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Aug 2026 10:01:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wt0K9-00D3MQ-1Q for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Aug 2026 10:00:08 +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.96) (envelope-from ) id 1wt0K9-00D3MH-0J for pgsql-hackers@lists.postgresql.org; Sun, 09 Aug 2026 10:00:08 +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.98.2) (envelope-from ) id 1wt0K5-000000019HJ-3WrE for pgsql-hackers@postgresql.org; Sun, 09 Aug 2026 10:00:07 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-49558ce01afso6953615e9.1 for ; Sun, 09 Aug 2026 03:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786269602; x=1786874402; darn=postgresql.org; h=content-transfer-encoding:content-type: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 :content-type; bh=b3+rVhsN6MoKxhmbUSlpgsKjCo9CTUzUzTDqO2rXaUE=; b=mlaUE/pqLNSf2+C70TV8M58OpVSqW68PKjMa4wMDia0BHr28Ye2AVYSg4KqY3IErLQ 9Bma1j3JCAmffn1PJ/osVVFX52bPTbTW/67OsKAAjhwNKEkkoLGXhrwIOZesn/9nr+k9 6qe+EQ1agFhsY6Aq6VnfbJnnUfB495Qu3W+6GhWVduG0c90Dw7s+yCgyXMQw0vgIhsOZ GieJhNFKk11aqTcEo4ykq1kzTrmGGk5x5r5hFk6RXnMmjYWEkcNQ0pxaKB1oAZtnvJCf PRpRFTqFBwBTLC+PyBsXaACdhOVD1pMysCjRSHHpqusq7ynTxI5m6tiyWoBpxD9a6R/A zOzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786269602; x=1786874402; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=b3+rVhsN6MoKxhmbUSlpgsKjCo9CTUzUzTDqO2rXaUE=; b=EYazhVNPq7PX3eUCD4NtdaUv6Be+yEVV7tudvddT/zZfrwEJol8SHXc8WFIsS9lxVF HbdYLPWwQrbWUozHeN4vCFxVgT6KK8M3LwlbSCua/Upygi6v0yjzqBcdXMrtmqHr5+kD 6fLTQPUnALsm34HEWjXkvFenLj0JwdUUGExgDA4/KQxkqg6tobjB05Ft5cNBollezazQ jx77El1NSRrtVxg4LyQDBYi35RMg1PPR/ee1F2xLKk2zmqM32isOOb0P8ylG2vLOzbkF r3RmeT7ENDMES8Z6PiSybGrdlUCvtOYyhj8+yyEokaApIG/+6pWHtfwoNu4HhFKsJTDP pgVQ== X-Gm-Message-State: AOJu0YySpdWJfAxB4UwY1o8siuBswe/5PqNpx0Y+lfIME8SLxeYzL8QI ncROQrQTckgwmmA1U9/z0/Gwz6awYb49AEcm5sExYofl2oyNkixb/HnJ X-Gm-Gg: AR+sD12CyySDruizM+oKc8nZymTKJhmXchvU3784sXvbKIiPblcmjwiNA4dezPsi/W+ F4Wiln8WrM3110hxBcZRLUg0kEw2fSlOMvgGIGRh4XVKGy5jAnS0tvfj8LtKXt3BK/wtHxt1KH8 /H35+TB2VowVVNGrJSg8HDfXnSRMOlJxpoGt8LzOV3/Y7LgEoOoQlrfcU9kXZwnj9OVM63pWaJF dpYwEK4hZSw3kqiR8mzRueazqzliD2THz7VyJ7V15ZZlLT0CDUgq17BYcLSPKO/bsqe5B/88eT+ zUj9PsY86L6E0Qv8j/42Tr3SEoh7fjuS8zIKlOXKi8IdzUgtcYEkZQVzg7XVFNAwvi3wcW7TT86 9M+UIZlo+eZ+Qos5mpmYvEcw8grfN5w3TFz820sfS2/wqn6+kkWRqI0177/LIR3aiWRxHUnYqfa ze8VRHfoz13xtIqGCNYMYHf+oLag4/TnUDGYCXxPmPHPHgtQUSg6xJm4tM+gKJblDzj4gAjXG1Y d0= X-Received: by 2002:a05:600d:15a:10b0:495:4d5c:903e with SMTP id 5b1f17b1804b1-4994e73ce4fmr405049515e9.7.1786269602222; Sun, 09 Aug 2026 03:00:02 -0700 (PDT) Received: from [192.168.0.50] ([89.149.120.180]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48002145966sm20631503f8f.5.2026.08.09.03.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Aug 2026 03:00:01 -0700 (PDT) Message-ID: <27c8e9ee-fe77-4b2a-a687-50953a01518c@gmail.com> Date: Sun, 9 Aug 2026 13:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 019_replslot_limit.pl might fail due to checkpoint skipped To: "Hayato Kuroda (Fujitsu)" Cc: pgsql-hackers References: <0b07ead5-a5da-445e-9698-a7d340708bdf@gmail.com> Content-Language: en-US From: Alexander Lakhin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dear Kuroda-san, 07.08.2026 09:44, Hayato Kuroda (Fujitsu) wrote: > IIUC, the workaround is to force the CHECKPOINT after advancing WAL segments. > Also, we can increase the max_wal_size to avoid the checkpoint due to WAL files. > > Please see attached. How do you feel? > > [1]: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=partridge&dt=2026-08-06%2018%3A00%3A11 Thank you for paying attention to the issue! I've tested $checkpoint->query_until() and confirmed that this approach (which is also used in 4 other tests) eliminates the failure. I haven't observed an effect of "max_wal_size = 40MB", so I'm not sure about it. Do you have a scenario in mind, when it could be useful for the test? Best regards, Alexander