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>,
heikki.linnakangas@iki.fi, Kevin Grittner <kgrittn@gmail.com>
Date: 2023-03-05T09:00:01Z
Lists: pgsql-bugs
Attachments
- v4-0001-Fix-assert-failures-in-parallel-SERIALIZABLE-READ-master.patch (text/x-patch) patch v4-0001
Hi Thomas, 15.01.2022 08:41, Thomas Munro wrote: > On Mon, Jan 10, 2022 at 6:00 AM Alexander Lakhin <exclusion@gmail.com> wrote: >> As to v4-0001-Fix-assert-failures-in-parallel-SERIALIZABLE-READ.patch >> you posted before, I believe it fixes the issues as expected and may be >> committed at least to allow for advanced testing. > Cool, I'll do that in the next few days. Need to swap SERIALIZABLE > back into my neurons after some time away... I've caught one of asserts we discussed here again (in a different setup) and would like to continue working on the fixes. I've rechecked v4-0001-Fix-assert-failures-in-parallel-SERIALIZABLE-READ.patch — it's still in a good shape, needs only minor corrections for the master branch and can be applied as-is to REL_12_STABLE .. REL_15_STABLE. The modified test serializable-parallel-2 and new test serializable-parallel-3 still trigger asserts with unpatched predicate.c and make check-world passes with the complete patch applied. So if that patch requires attention of a seasoned reviewer, let's send it to the commitfest (I can register the patch if you don't mind)? Otherwise, maybe just commit it and move to other bugs... 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