Re: Atomic ops for unlogged LSN

Поиск
Список
Период
Сортировка
Искать
От
Nathan Bossart
Тема
Re: Atomic ops for unlogged LSN
Дата
Msg-id
20231110205414.GC1315705@nathanxps13
Ответ на
Список
Дерево обсуждения
Re: Atomic ops for unlogged LSN John Morris <john.morris@crunchydata.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN John Morris <john.morris@crunchydata.com>
Re: Atomic ops for unlogged LSN John Morris <john.morris@crunchydata.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN John Morris <john.morris@crunchydata.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Stephen Frost <sfrost@snowman.net>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Andres Freund <andres@anarazel.de>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Atomic ops for unlogged LSN Nathan Bossart <nathandbossart@gmail.com>
Re: Atomic ops for unlogged LSN John Morris <john.morris@crunchydata.com>
Re: Atomic ops for unlogged LSN Stephen Frost <sfrost@snowman.net>
Re: Atomic ops for unlogged LSN Andres Freund <andres@anarazel.de>
Re: Atomic ops for unlogged LSN Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
On Thu, Nov 09, 2023 at 03:27:33PM -0600, Nathan Bossart wrote:
> I wonder if it's worth providing a set of "locked read" functions.  Those
> could just do a compare/exchange with 0 in the generic implementation.  For
> patches like this one where the overhead really shouldn't matter, I'd
> encourage folks to use those to make it easy to reason about correctness.

I moved this proposal to a new thread [0].

[0] https://postgr.es/m/20231110205128.GB1315705%40nathanxps13

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


В списке pgsql-hackers по дате отправления
От: Nathan Bossart
Дата:
Сообщение: locked reads for atomics
От: Christoph Berg
Дата:
FAQ