amcheck verification for GiST

Поиск
Список
Период
Сортировка
От Andrey Borodin
Тема amcheck verification for GiST
Дата
Msg-id 59D0DA6B-1652-4D44-B0EF-A582D5824F83@yandex-team.ru
обсуждение исходный текст
Ответы Re: amcheck verification for GiST  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
Hi, hackers!

Here's the patch with amcheck functionality for GiST.

It basically checks two invariants:
1. Every internal tuple need no adjustment by tuples of referenced page
2. Internal page reference or only leaf pages or only internal pages

We actually cannot check all balanced tree invariants due to concurrency reasons some concurrent splits will be visible
astemporary balance violations. 

Are there any other invariants that we can check?

I'd be happy to hear any thought about this.

Best regards, Andrey Borodin.

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Changing the setting of wal_sender_timeout per standby
Следующее
От: Keiichi Hirobe
Дата:
Сообщение: [patch]overallocate memory for curly braces in array_out