From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | amcheck verification for GiST |
Date: | 2018-09-23 10:15:09 |
Message-ID: | 59D0DA6B-1652-4D44-B0EF-A582D5824F83@yandex-team.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 as temporary 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.
Attachment | Content-Type | Size |
---|---|---|
0001-GiST-verification-function-for-amcheck.patch | application/octet-stream | 12.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Keiichi Hirobe | 2018-09-23 11:36:55 | [patch]overallocate memory for curly braces in array_out |
Previous Message | Robert Haas | 2018-09-23 04:14:00 | Re: Code of Conduct plan |