Re: [PATCH] Full support for index LP_DEAD hint bits on standby

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: [PATCH] Full support for index LP_DEAD hint bits on standby
Дата
Msg-id CAH2-Wzkz7zxAYLZEP1FTyQmjtTfV0s-CnK=-+3UEg0xFzTLxpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Full support for index LP_DEAD hint bits on standby  (Greg Stark <stark@mit.edu>)
Ответы Re: [PATCH] Full support for index LP_DEAD hint bits on standby  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On Mon, Mar 28, 2022 at 12:40 PM Greg Stark <stark@mit.edu> wrote:
> I'm seeing a recovery test failure. Not sure if this represents an
> actual bug or just a test that needs to be adjusted for the new
> behaviour.
>
> https://cirrus-ci.com/task/5711008294502400

I doubt that the patch's use of pg_memory_barrier() in places like
_bt_killitems() is correct. There is no way to know for sure if this
novel new lockless algorithm is correct or not, since it isn't
explained anywhere.

The existing use of memory barriers is pretty much limited to a
handful of performance critical code paths, none of which are in
access method code that reads from shared_buffers. So this is not a
minor oversight.

-- 
Peter Geoghegan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [PATCH] Accept IP addresses in server certificate SANs
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Temporary tables versus wraparound... again