BRIN index bug due to WAL refactoring

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема BRIN index bug due to WAL refactoring
Дата
Msg-id CAMkU=1yKeTbjg0ThETaqhmgk2xRTrG6sTzChCP+OP0XKDKHPKQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: BRIN index bug due to WAL refactoring
Re: BRIN index bug due to WAL refactoring
Список pgsql-hackers
BRIN index WAL is broken in HEAD.

Commit 2c03216d831160bedd72d4, the Revamp the WAL record format, is the culprit.

The easiest way to see this is via streaming replication.

On master:

create table foobar as select * from generate_series(1,10000);
create index on foobar using brin (generate_series );

On replica:

set enable_seqscan TO off;
explain (analyze) select count(*) from foobar ;
ERROR:  corrupted BRIN index: inconsistent range map

Cheers,

Jeff

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BRIN index bug due to WAL refactoring