Re: Streaming replication status

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Streaming replication status
Дата
Msg-id 4B47AFBF.2030704@agliodbs.com
обсуждение исходный текст
Ответ на Streaming replication status  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Streaming replication status  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Streaming replication status  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-hackers
On 1/8/10 1:16 PM, Heikki Linnakangas wrote:
> * A standby that connects to master, initiates streaming, and then sits
> idle without stalls recycling of old WAL files in the master. That will
> eventually lead to a full disk in master. Do we need some kind of a
> emergency valve on that?

WARNING: I haven't thought about how this would work together with HS yes.

I think this needs to be administrator-configurable.

I'd suggest a GUC approach:

archiving_lag_action = { ignore, shutdown, stop }

"Ignore" would be the default.  Some users would rather have the master
shut down if the slave has stopped taking segments; that's "shutdown".
Otherwise, it's "stop" which simply stops archiving and starts recylcing
when we reach that number of segments.

Better name for the GUC very welcome ...

--Josh Berkus


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

Предыдущее
От: Andreas Joseph Krogh
Дата:
Сообщение: NOT NULL violation and error-message
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Application name patch - v3