Re: Streaming Replication Error
От | Jeff Janes |
---|---|
Тема | Re: Streaming Replication Error |
Дата | |
Msg-id | CAMkU=1wmWpkk1E0HXRzPd7ABqjO1ZBa4_Y=YXwf9t607tx=mhw@mail.gmail.com обсуждение исходный текст |
Ответ на | Streaming Replication Error (<soumik.bhattacharjee@kpn.com>) |
Ответы |
RE: Streaming Replication Error
|
Список | pgsql-admin |
Hi Experts,
I have set up streaming replication on PostgreSQL 12.1
The master and slave are configured as below and WAL files are accumulating on the master.
However, something is wrong as I get complaints that the WAL files are missing after a pg_restore on MASTER
SLAVE
...
2019-12-20 16:37:08.042 CET [21981] FATAL: could not receive data from WAL stream: ERROR: requested WAL segment 000000010000000100000076 has already been removed
Then the pg_basebackup is run and the slave started.
The slave has all the data as of the time of the backup, but no new data from the WAL files, and the error above.
max_wal_senders = 10
wal_keep_segments = 120
What have I mis-configured?
Do we need to enabled archive_mode = on for streaming replication?
В списке pgsql-admin по дате отправления: