model-writtenrun 9686 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Arseny Sher reported an assertion failure discovered by Alexander Lakhin and proposed removing the cmax stability assertion, explaining that aborted subtransactions can change a catalog tuple's cmax; his patch also added a DDL regression test #1.
- Alexey Kondratov independently reported encountering the same assertion while testing transaction streaming, reinforcing that the failure was not confined to Arseny's reproducer #2.
- Álvaro Herrera found that the regression test exposed unrelated table-rewrite output on older branches #3; Arseny removed the initial insertion, tested master and 9.4, and confirmed that the revised test still failed without the assertion fix #4 #6.
- Álvaro replaced assertion removal with a weaker invariant requiring an established cmax to remain valid and strictly increase #7; Arseny confirmed the revised patch worked in his original case and passed checks on all supported branches #9.
- Álvaro committed the final attached patch unchanged apart from rebasing as 8c67d29fd5, then reported successful checks across branches and the push #10.
- Arseny's internal buildfarm subsequently exposed the adjacent cmin assertion failing when vacuum reclaimed an aborted catalog tuple and its location was reused; he supplied a follow-up patch retaining the latest command IDs and a separate isolation reproducer, which he preferred to omit from the fix because it demonstrated only an assertion failure #11.
- The follow-up remained unresolved at the thread's final message, where Arseny confirmed the issue still existed in December 2019 #12; the later abort-time cleanup in beff3cd009 originated in thread #139519 and credited this thread's earlier report.