Re: Concurrency issue in pg_rewind

Поиск
Список
Период
Сортировка
От Oleksandr Shulgin
Тема Re: Concurrency issue in pg_rewind
Дата
Msg-id CACACo5RkdXNBNWH_-GLjtN3UwF6rT1wDz0Xw+Hy6zp-JEBMUwA@mail.gmail.com
обсуждение исходный текст
Ответ на Concurrency issue in pg_rewind  (Alexander Kukushkin <cyberdemn@gmail.com>)
Ответы Re: Concurrency issue in pg_rewind
Список pgsql-hackers
On Wed, Sep 16, 2020 at 2:55 PM Alexander Kukushkin <cyberdemn@gmail.com> wrote:

The second time pg_rewind also failed, but the error looked differently:
servers diverged at WAL location A76/39E55338 on timeline 132
rewinding from last common checkpoint at A76/1EF254B8 on timeline 132

could not remove file
"/home/postgres/pgdata/pgroot/data/pg_wal/.wal-g/prefetch/running/0000008400000A7600000024":

Ouch.  I think pg_rewind shouldn't try to remove any random files in pg_wal that it doesn't know about.
What if the administrator made a backup of some WAL segments there?

--
Alex

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: pgindent vs dtrace on macos
Следующее
От: Ajin Cherian
Дата:
Сообщение: Re: [HACKERS] logical decoding of two-phase transactions