Re: Atomic ops for unlogged LSN

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Atomic ops for unlogged LSN
Дата
Msg-id 20230718000835.2ih4uyzbkn5u72ei@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: Atomic ops for unlogged LSN  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Atomic ops for unlogged LSN  (John Morris <john.morris@crunchydata.com>)
Список pgsql-hackers
Hi,

On 2023-07-17 16:15:52 -0700, Nathan Bossart wrote:
> On Mon, Jul 17, 2023 at 07:08:03PM -0400, Stephen Frost wrote:
> > Awesome.  Was there any other feedback on this change which basically is
> > just getting rid of a spinlock and replacing it with using atomics?
> > It's still in needs-review status but there's been a number of
> > comments/reviews (drive-by, at least) but without any real ask for any
> > changes to be made.
> 
> LGTM

Why don't we just use a barrier when around reading the value? It's not like
CreateCheckPoint() is frequent?

Greetings,

Andres Freund



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

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [PoC] Federated Authn/z with OAUTHBEARER
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Dumping policy on a table belonging to an extension is expected?