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 1x27Cx-005auy-2y for pgsql-www@arkaria.postgresql.org; Thu, 03 Sep 2026 13:10:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x27Cw-000e5p-2x for pgsql-www@arkaria.postgresql.org; Thu, 03 Sep 2026 13:10:22 +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.96) (envelope-from ) id 1x27Cw-000e5g-2L for pgsql-www@lists.postgresql.org; Thu, 03 Sep 2026 13:10:22 +0000 Received: from mail-vk1-xa30.google.com ([2607:f8b0:4864:20::a30]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x27Cv-00000003oCE-034Y for pgsql-www@postgresql.org; Thu, 03 Sep 2026 13:10:21 +0000 Received: by mail-vk1-xa30.google.com with SMTP id 71dfb90a1353d-5c681c2a6a7so923567e0c.0 for ; Thu, 03 Sep 2026 06:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788441020; x=1789045820; darn=postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=8bQIYk8S8IBZRZrXYuxIqSx4W8pF7YuyBtFznieEoMY=; b=J7qP6OJ/A+4t5WqlinsTDXZZKU6ekBpRwJ3hS8/voVpXELPmselnAftUQI1OxHeuO2 cXD/43VYVVcWUIg1UrlJMahZKrnYCjgcAWzca0Z2YWVNtoexjNIaScmpXrmcqy1hOKRF 8djZ3pBSoSX2gzAjQbKolEVM4NFvHNLL5CI0juYOSfmpZQ5IrTd7oCHr5hl8a7IARaPo 4d32MbvhkT24VJzHYDGBniXZlWVMkZaI1r5P9tNDW4pK3UpMOYI3RahjNWMpyGD7XbR/ nBEvekQoHqhLFpdeBiRIwczrYW/+uJkiiDRhg9hvx+/kEw8fubkajfEjdn2opcmUR0ib acFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788441020; x=1789045820; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=8bQIYk8S8IBZRZrXYuxIqSx4W8pF7YuyBtFznieEoMY=; b=k7zf/5CHHokI24jVcBaMTlIHmDFKrf6UbliwKCXTWGAwlkl+fj3ojBlRIEop6klE8D MYqEnW6QvqfqLQzqczWZjSkTW4i1UpLlb1TgbGl470X6hrMUc73PLFXjUkGzfssUx0Nd hhLRk4WheiIuhDAik5suKKchtohLwrzmb5dtT9Cu2WuuyDMqxfxi/9TsS4f7IZXytfh0 7ufKsy3BLJxYCw10lEpwSm7qnSsd4qSdytRudFgpWfN6aTxq046LZ2CotUoUmwbgzs7N JtgK1BeJIgnZGNj7HWXmUjaZR322/eXRBw7by1zfRAlYt+EBKIR5OgCru2QGCwl3sxgw 4nsg== X-Gm-Message-State: AFuF++mGxOKKl3J4VlTeEte9dJtqva2sdy4D25yP4/18tmPhAn28a5bL PnIitfmmBg0aMMeyI7yvi8wffKILkFK5jTi57l4tga/qv138faCZ9qDM X-Gm-Gg: AYBFou3eDhcLB8TYbYV9WlDz4UAlQ3gDMOSrRd3W3NZoXS41zAz8Ktju/dQyn10ofQt uoZsRedeq5modrsdYsqUds3Tm5dggB/VnpnGPOO/mogZWCo4RpyzenuD5RG/ia4Oz00aX9MwPO3 j7lnDCokpIAxLRDSOfcIma7/KahGABrfeKJHAK2BiNPxfp8fU9eUsP50KOiWuHKiIpf85lgZXZx 1sXWKjtvD7wjYtuA9mD9geXTGT9MqlhfuKO6+q02zpG1gMU7sbbiQgD23ev3St+gdqI78ltK+o7 n7ror3A2LzT7M3nP87jqoH9PGZ3JKk4dMUjiXSziie11Xns65q7bZ5/x+r14NPWnw4zaqFBST1w RAaYuEC+woNHKkizprgBHHcARDK9OslCfUqe8PSubE89MNte2SJ7po5DQ3c3SH+AmlSfZq21QUZ 8he8GZ0wQONWFIR3FUEXODw6Ldf2411/bgfP3jpTlQfxUupGjqAyFQCqPw3Tqoc8ODCG4RXQkIe 70/fksU2cJ04L9iMdrCKbkRM2MkmaX/qVsDQcOOwha4biQtZxoh5BSM+MZ5bBTdpBKVAqlCltHE /wzq2kvQ0esMjLw= X-Received: by 2002:a05:6122:29cd:b0:5c5:ac11:9731 with SMTP id 71dfb90a1353d-5c7d2883eb7mr5022676e0c.8.1788441020102; Thu, 03 Sep 2026 06:10:20 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5c7cd8fda9asm4383634e0c.14.2026.09.03.06.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2026 06:10:19 -0700 (PDT) Date: Thu, 3 Sep 2026 08:10:16 -0500 From: Nathan Bossart To: Magnus Hagander Cc: pgsql-www@postgresql.org Subject: Re: archives frequently do not load today's messages 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 Thu, Sep 03, 2026 at 01:07:31AM +0200, Magnus Hagander wrote: > You're on the right track, but that's not the actual bug. But the > increasing of the cache time has exposed a bug that has been there all > along. > > The bug is that *someone* hits the URL, in this case for Sep 2, when there > are zero messages from Sep 2 yet. When that happens the empty page is > cached but it's cached *without* the key that say it's in September. So > when the first Sep 2 message actually arrives, it failes to to purge it > because it purges everything in September only. Not in NULL. Got it. > I've pushed a fix for this now, I think ( > https://git.postgresql.org/gitweb/?p=pgarchives.git;a=commit;h=51485f825d7012fc5701900c2dfd562609fb1a06 > ). > > It will take up to 12 hours for all the incorrectly taggred pages to expire > from the cache. > > Thanks for the report! Thanks for fixing! -- nathan