Обсуждение: Re: BUG #17784: broken URL in 15.2 release notes

Поиск
Список
Период
Сортировка

Re: BUG #17784: broken URL in 15.2 release notes

От
Andrey Lizenko
Дата:
Just in case, may be it is a CDN issue.

image.png

On Thu, 9 Feb 2023 at 15:21, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17784
Logged by:          Andrey Lizenko
Email address:      lizenko79@gmail.com
PostgreSQL version: 15.2
Operating system:   all
Description:       

https://www.postgresql.org/docs/release/15.2/
returns

Not Found
The URL you specified does not exist.



--
Regards, Andrei Lizenko
Вложения

Re: BUG #17784: broken URL in 15.2 release notes

От
"Jonathan S. Katz"
Дата:
On 2/9/23 9:22 AM, Andrey Lizenko wrote:
> Just in case, may be it is a CDN issue.

Just went to the URL. Works for me, and I did not touch any backend 
settings. I don't know if you were at the page prior to the cache flush.

Jonathan


Вложения

Re: BUG #17784: broken URL in 15.2 release notes

От
Andrey Lizenko
Дата:
No, its ok for now, but didn't work for a quite short time, that is why, I've checked it in a fresh cacheless FF, instead of usual Chrome. My suggestion about CDN were also about it - we just need to wait.

On Thu, 9 Feb 2023 at 16:14, Jonathan S. Katz <jkatz@postgresql.org> wrote:
On 2/9/23 9:22 AM, Andrey Lizenko wrote:
> Just in case, may be it is a CDN issue.

Just went to the URL. Works for me, and I did not touch any backend
settings. I don't know if you were at the page prior to the cache flush.

Jonathan



--
Regards, Andrei Lizenko

Re: BUG #17784: broken URL in 15.2 release notes

От
"Jonathan S. Katz"
Дата:
On 2/9/23 10:33 AM, Andrey Lizenko wrote:
> No, its ok for now, but didn't work for a quite short time, that is why, 
> I've checked it in a fresh cacheless FF, instead of usual Chrome. My 
> suggestion about CDN were also about it - we just need to wait.

Well, on the pgweb side (the website code) we should ensure that the 
release notes are available. As part of the release SOP we do have a 
step to clear the release notes cache prior to launch. I clearly did not 
do that -- when I did my quick test it appeared to be OK, but that was 
only on the 15.2 notes.

We do have code to automatically purge portions of the cache when 
certain models update, and on inspection we don't do that when we push 
out the releases and update the versions. I'm going to work on a fix for 
that, as this has now happened a few times (and granted, is typically my 
fault) but should be easy enough to automate.

Jonathan


Вложения

Re: BUG #17784: broken URL in 15.2 release notes

От
"Jonathan S. Katz"
Дата:
On 2/9/23 11:46 AM, Jonathan S. Katz wrote:
> On 2/9/23 10:33 AM, Andrey Lizenko wrote:
>> No, its ok for now, but didn't work for a quite short time, that is 
>> why, I've checked it in a fresh cacheless FF, instead of usual Chrome. 
>> My suggestion about CDN were also about it - we just need to wait.
> 
> Well, on the pgweb side (the website code) we should ensure that the 
> release notes are available. As part of the release SOP we do have a 
> step to clear the release notes cache prior to launch. I clearly did not 
> do that -- when I did my quick test it appeared to be OK, but that was 
> only on the 15.2 notes.
> 
> We do have code to automatically purge portions of the cache when 
> certain models update, and on inspection we don't do that when we push 
> out the releases and update the versions. I'm going to work on a fix for 
> that, as this has now happened a few times (and granted, is typically my 
> fault) but should be easy enough to automate.

Per a discussion on -www, we pushed a fix that should prevent (or at 
least better mitigate) the risk that this happens in the future[1].

Thanks!

Jonathan

[1] 
https://git.postgresql.org/gitweb/?p=pgweb.git;a=commit;h=ac618d1bb5f8b28ca8766e5ce6e25642f8a36539


Вложения