Re: BUG #17072: Assert for clogGroupNext failed due to a race condition in TransactionGroupUpdateXidStatus()

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-06-28T08:38:14Z
Lists: pgsql-bugs
On Mon, Jun 28, 2021 at 12:30 AM Alexander Lakhin <exclusion@gmail.com> wrote:
>
> Hello Amit,
> 26.06.2021 12:57, Amit Kapila wrote:
> >
> >>> I think this should be reproducible on all branches from HEAD till
> >>> v11. Have you tried in any other branch? I'll also try to reproduce
> >>> it.
> >> I've reproduced it on REL_11_STABLE, REL_12_STABLE, REL_13_STABLE, and
> >> master.
> >>
> > Please see if you can verify whether the attached fixes it in all the
> > branches?
> Yes, the attached patch fixes the issue in all the branches.
> Thanks for the fix!
>

Pushed, thanks for the report and all the testing.

-- 
With Regards,
Amit Kapila.



Commits

  1. Fix race condition in TransactionGroupUpdateXidStatus().