model-writtenrun 2531 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nisha Moond reported a replication-slot acquisition race, credited Hou Zhijie with discovering it, and described a test that triggered an assertion failure when a process used an already invalidated slot #1.
- Nisha's patch moved the invalidation check after establishing slot ownership and assigning MyReplicationSlot, preventing the checkpointer from invalidating the slot between the check and acquisition #1.
- Amit Kapila acknowledged the report and patch and said he would investigate #2.
- Amit committed the patch with a shorter explanatory comment and revised commit message; the commit explains that checking after acquisition was chosen over checking under the spinlock for simplicity 8709dccc79.
- Amit's final message confirmed that the patch had been pushed with a slightly different comment, leaving no outstanding work stated in the thread #3.