Re: Slow standby snapshot

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Michail Nikolaev <michail(dot)nikolaev(at)gmail(dot)com>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Slow standby snapshot
Date: 2021-11-22 08:23:49
Message-ID: A40D39B6-14CE-48FA-877B-E42B1C6803A3@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 21 нояб. 2021 г., в 23:58, Michail Nikolaev <michail(dot)nikolaev(at)gmail(dot)com> написал(а):
>
> <v3-0001-memory-barrier-instead-of-spinlock.patch>

Write barrier must be issued after write, not before.
Don't we need to issue read barrier too?

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michail Nikolaev 2021-11-22 09:05:36 Re: Slow standby snapshot
Previous Message Amit Langote 2021-11-22 08:15:37 Re: pg_get_publication_tables() output duplicate relid