Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown
Дата
Msg-id 20140318172047.GY16438@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-bugs
On 2014-03-19 02:16:00 +0900, Fujii Masao wrote:
> > Comments of WalSndWaitForWal would need an update as well in this
> > case. It is written on top of this function that it waits "until WAL <
> > loc is flushed to disk".
>
> I don't think that comment needs to be updated because it means that
> "until WAL < loc is flushed to the *master local* disk". It's not related to
> the flush location that the standby returns. Anyway, I attached the patch.
> Barring objection, I will commit this.

I object on behalf of WalSndWaitForWal(). We really need the flush
location there because otherwise we can't remove old WAL.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #9118: WAL Sender does not disconnect replication clients during shutdown