WAL receive process dies

Поиск
Список
Период
Сортировка
От Patrick Krecker
Тема WAL receive process dies
Дата
Msg-id CAK2mJFNmZ1UoSLNT9xokqHBSuamA45NEC0cJ3nJ3BuEKub8-XA@mail.gmail.com
обсуждение исходный текст
Ответы Re: WAL receive process dies  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-general
We have a periodic network connectivity issue (unrelated to Postgres) that is causing the replication to fail. 

We are running Postgres 9.3 using streaming replication. We also have WAL archives available to be replayed with restore_command. Typically when I bring up a slave it copies over WAL archives for a while before connecting via streaming replication.

When I notice the machine is behind in replication, I also notice that the WAL receiver process has died. There didn't seem to be any information in the logs about it. The solution thus far has been to restart Postgres. I have two questions:

1. It seems that Postgres does not fall back to copying WAL archives with its restore_command. I just want to confirm that this is what Postgres is supposed to do when its connection via streaming replication times out.
2. Is it possible to restart replication after the WAL receiver process has died without restarting Postgres?

Thanks!
Patrick

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Atomicity of INSERT INTO ... SELECT ... WHERE NOT EXISTS ...
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: WAL receive process dies