Re: standby recovery fails (tablespace related) (tentative patch and discussion)

Поиск
Список
Период
Сортировка
От Asim R P
Тема Re: standby recovery fails (tablespace related) (tentative patch and discussion)
Дата
Msg-id CANXE4Td1udkoCX5tyBUKiax5r_qFZDwR6iG1Ymm3t2CfW9zTuw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: standby recovery fails (tablespace related) (tentative patch and discussion)  (Asim R P <apraveen@pivotal.io>)
Ответы Re: standby recovery fails (tablespace related) (tentative patch anddiscussion)  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Список pgsql-hackers
On Thu, Sep 19, 2019 at 5:29 PM Asim R P <apraveen@pivotal.io> wrote:
>
> In order to fix the test failures, we need to distinguish between a missing database directory and a missing tablespace directory.  And also add logic to forget missing directories during tablespace drop.  I am working on it.

Please find attached a solution that builds on what Paul has propose.  A hash table, similar to the invalid page hash table is used to track missing directory references.  A missing directory may be a tablespace or a database, based on whether the tablespace is found missing or the source database is found missing.  The crash recovery succeeds if the hash table is empty at the end.

Asim
Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] src/test/modules/dummy_index -- way to test reloptionsfrom inside of access method
Следующее
От: Jeff Janes
Дата:
Сообщение: WAL recycled despite logical replication slot