model-writtenrun 3810 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported assertion failures during foreign-key SET NULL and CASCADE actions under repeatable-read and serializable isolation, identifying tuples that were updateable but invisible to the crosscheck snapshot; non-assert builds correctly raised serialization errors #1.
- Alexander supplied isolation tests reproducing both failures and explained that an invalid xmax was harmless because callers raised a serialization error before using the failure data, while questioning the tuple-pointer assertions #2.
- Alexander then submitted a complete fix that relaxed the xmax assertions, removed the problematic tuple-pointer assertions, retained the reproducing tests, and corrected a duplicated phrase in tableam.h #3.
- Heikki Linnakangas revised the fix to preserve the general assertions by moving them before the crosscheck snapshot checks, but asked whether READ COMMITTED callers could encounter the resulting TM_Updated status with an invalid xmax #4.
- Alexander accepted Heikki's revision and cited ri_PerformCheck() to explain that the crosscheck snapshot is supplied only in transaction-snapshot mode, resolving the READ COMMITTED concern #5.
- Heikki committed the final attachment unchanged apart from rebasing as 9fee3232a1, with 60f227316c representing the same fix on a stable branch, and confirmed completion and backpatching in the thread's final message #6.