symlinks in pg_xlog to wal of previous timeline, after a failover

Поиск
Список
Период
Сортировка
От Purav Chovatia
Тема symlinks in pg_xlog to wal of previous timeline, after a failover
Дата
Msg-id CADrzpjGtcr6Fu0oQFU0t8HfO+hTgxgPN=cyw5Gt9q1q4bPQPXw@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello all,

We have configured Streaming Replication and we see symlink in pg_xlog pointing to another file with the previous timeline, in the same location. This is happening after a failover. archiver errors while trying to copy this file:
cp: cannot stat ‘pg_xlog/000000020000000000000075’: No such file or directory
2018-01-11 23:08:24 IST LOG:  archive command failed with exit code 1
2018-01-11 23:08:24 IST DETAIL:  The failed archive command was: cp pg_xlog/000000020000000000000075 /pgArch/edb/9.6/000000020000000000000075

-bash-4.2$ ls -ltr ../pg_xlog/000000020000000000000075
lrwxrwxrwx. 1 enterprisedb enterprisedb 24 Jan  9 16:50 ../pg_xlog/000000020000000000000075 -> 000000010000000000000075
-bash-4.2$

Can somebody help understand why are these symlinks created and how to overcome the situation?

Many Thanks

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Rolling forward to 10.1, new issue...
Следующее
От: Karl Denninger
Дата:
Сообщение: Re: Rolling forward to 10.1, new issue...