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

Alexander Law <exclusion@gmail.com>

From: Alexander Lakhin <exclusion@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2021-06-25T10:00:00Z
Lists: pgsql-bugs

Attachments

24.06.2021 19:00, PG Bug reporting form wrote:
> When running multiple installchecks (100-200) in a loop I get the following
> fail:
If it could be of any use, please look at the draft script that executes
multiple installchecks on one instance.
(Sorry for a dirty play with the makefle and neighbors — it's not
intended for the production use.)
I started to develop this script to discover a hardware or software
issue on a powerful server (192 cores, 4 TB RAM, ...).
Single installcheck is a needle in a haystack for such hardware, so I
tried to run multiple instances and multiple installchecks for each.
Some tests are not ready to run in a such configuration, but most of the
tests work and bring some findings.

Best regards,
Alexander

Commits

  1. Fix race condition in TransactionGroupUpdateXidStatus().