model-writtenrun 9555 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ashutosh Sharma reported an assertion failure in _bt_check_unique() and supplied a three-session reproducer involving concurrent inserts and deletes of the same primary-key value #1.
- Ashutosh traced the failure to saved binary-search bounds surviving a wait for another transaction and submitted a patch that invalidates those bounds before returning the transaction to wait for #2.
- Peter Geoghegan committed the fix as 74eb2176bf, retaining the patch’s central change and adding an assertion, another bounds invalidation on the uniqueness-error path, and comment adjustments.
- Peter confirmed the diagnosis, explained that the bug arose when the insertstate structure was introduced, and announced that he had pushed the modified patch #3.
- Ashutosh acknowledged the fix in the final reply, leaving the reported issue resolved with no outstanding work identified in the thread #4.