[bug fix] pg_rewind takes long time because it mistakenly copiesdata files

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема [bug fix] pg_rewind takes long time because it mistakenly copiesdata files
Дата
Msg-id 0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05
обсуждение исходный текст
Ответы Re: [bug fix] pg_rewind takes long time because it mistakenly copiesdata files  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hello,

Our customer reported that pg_rewind took many hours to synchronize 400GB of data, even if the new primary doesn't
performany updates.  The attached patch fixes that.
 

The cause was that pg_rewind failed to recognize data files in tablespace directories, resulting in the full copy of
thosefiles instead of WAL replay.
 

Regards
Takayuki Tsunakawa




Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: remove pg_class.relhaspkey
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: remove pg_class.relhaspkey