Re: Race condition in InvalidateObsoleteReplicationSlots()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Race condition in InvalidateObsoleteReplicationSlots()
Дата
Msg-id 20210430155735.4r47novjepij4kz5@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Race condition in InvalidateObsoleteReplicationSlots()  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Hi,

On 2021-04-08 17:03:41 +0530, Amit Kapila wrote:
> I haven't tested the patch but I couldn't spot any problems while
> reading it. A minor point, don't we need to use
> ConditionVariableCancelSleep() at some point after doing
> ConditionVariableTimedSleep?

It's not really necessary - unless the CV could get deallocated as part
of dynamic shared memory or such.

Greetings,

Andres Freund



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: MaxOffsetNumber for Table AMs
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Race condition in InvalidateObsoleteReplicationSlots()