Re: pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR
Дата
Msg-id 20220209015359.wvstb5rxzj53zrtp@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Avoid race in RelationBuildDesc() affecting CREATE INDEX CONCURR  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Список pgsql-hackers
Hi,

On 2022-02-09 02:25:09 +0100, Tomas Vondra wrote:
> AFAICS this only affects builds with CLOBBER_CACHE_ALWAYS, and anyone
> running such build in production clearly likes painful things anyway.

Yea, realistically nobody does that.


> But really, for the infinite loop to happen, building a relation descriptor
> has to invalidate a cache. And I haven't found a way to do that without the
> CLOBBER_CACHE_ALWAYS thing.

Phew.


> Also, all the November minor releases include this commit, and there were no
> reports about this (pretty obvious) issue. Buildfarm did not complain either
> (but an animal may be stuck for months and we would not know about it).

Ah, somehow I thought that wasn't yet in the last set of releases. Phew #2.

Greetings,

Andres Freund



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

Предыдущее
От: "Euler Taveira"
Дата:
Сообщение: Re: [BUG]Update Toast data failure in logical replication
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] Add min() and max() aggregate functions for xid8