From: | Arseniy Mukhin <arseniy(dot)mukhin(dot)dev(at)gmail(dot)com> |
---|---|
To: | Tomas Vondra <tomas(at)vondra(dot)me> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Andrey Borodin <amborodin86(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Jose Arthur Benetasso Villanova <jose(dot)arthur(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Amcheck verification of GiST and GIN |
Date: | 2025-06-09 16:37:39 |
Message-ID: | CAE7r3M+8ZYTn-R7YOvS+qXY7KLvSuW6PtOyyX4EA8sLGqjLoNA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jun 9, 2025 at 6:34 PM Tomas Vondra <tomas(at)vondra(dot)me> wrote:
>
> On 6/9/25 00:14, Tomas Vondra wrote:
> > ...
> >
> > I propose to split it like this, into three parts, each addressing a
> > particular type of mistake:
> >
> > 1) gin_check_posting_tree_parent_keys_consistency
> >
> > 2) gin_check_parent_keys_consistency / att comparisons
> >
> > 3) gin_check_parent_keys_consistency / setting ptr->parenttup (at the end)
> >
> > Does this make sense to you? If yes, can you split the patch series like
> > this, including a commit message for each part, explaining the fix? We'd
> > need the commit message even with a single patch, ofc.
> >
> The attached v5 patch splits it along these lines, except that the extra
> 0001 part merely adds a multicolumn index into the regression test. The
> 0002-0004 parts are ordered to match the TAP test, i.e. it adds tests.
Great, thank you.
> I've copied the points from the report to the commit messages, but this
> needs cleanup/rephrasing, to make it readable. Could you look into
> that?Of course, if you think the patches should be split differently,
> feel free to move stuff.
Yes, sure, I will do it ASAP.
> And as I said before - if you feel the issues are too intertwined and
> can't be split like this (or it just doesn't make sense), please speak
> up. We can commit that as a single patch. It still needs the commit
> message, though.
The way it splitted seems reasonable to me. Intertwined issues are
grouped together, and patches are more or less independent.
Also the test for 'posting tree parent_key check' that was added last
started failing locally. Don't know what changed, but I rewrote it
so now it relies on child blkno, which is stable (I hope), instead of
concrete TID. Will include it in the new patchset.
Best regards,
Arseniy Mukhin
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2025-06-09 16:39:54 | Re: [PATCH] Re: Proposal to Enable/Disable Index using ALTER INDEX |
Previous Message | Vitaly Davydov | 2025-06-09 16:09:58 | Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly |