Re: BUG #17116: Assert failed in SerialSetActiveSerXmin() on commit of parallelized serializable transaction
Alexander Law <exclusion@gmail.com>
From: Alexander Lakhin <exclusion@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-07-27T21:00:00Z
Lists: pgsql-bugs
Hello Thomas, 27.07.2021 14:17, Thomas Munro wrote: > Reproduced here using a similar approach. It doesn't fail with this > new draft patch. The main thing I have learned is that > serializable-parallel-2.sql isn't really testing a very interesting > code path. I'll try to come up with a better test. Thanks! With the new fix applied, my multiple installcheck test survives 100+ iterations. (Except for read-only-anomaly-3, that causes another assertion fail but I believe that it's not related to the initial issue and deserves another bug report.) Best regards, Alexander
Commits
-
Fix race in SERIALIZABLE READ ONLY.
- d1c0f81e7273 11.20 landed
- e30fd0942493 12.15 landed
- ae632f7a3147 13.11 landed
- d811d74be353 14.8 landed
- af397c6c27b7 15.3 landed
- 65e388d4182a 16.0 landed
-
Fix assert failures in parallel SERIALIZABLE READ ONLY.
- afa122e41c65 12.15 landed
- a0f55fc86ab7 13.11 landed
- e9051ecd58e9 14.8 landed
- 055990904a17 15.3 landed
- 47c0accbe05b 16.0 landed
-
Fix SxactGlobalXmin tracking.
- 47a338cfcd67 12.0 cited
-
There's a small window wherein a transaction is committed but not yet
- bdaabb9b22ca 9.2.0 cited