model-writtenrun 4830 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported that CreateDecodingContext() updated two_phase and two_phase_at without holding the replication slot's spinlock, allowing readers to see inconsistent data, and supplied a patch protecting both assignments #1.
- Michael Paquier agreed with the fix, checked surrounding slot code for similar inconsistencies, and reported finding none #2.
- Michael Paquier committed the patch unchanged as 5ad165d2c0, with a backpatch through PostgreSQL 15.
- Michael Paquier confirmed that the fix had landed #3.
- Masahiko Sawada acknowledged completion, leaving no outstanding work in the thread #4.