model-writtenrun 1606 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Nathan Bossart’s announcement of an already committed safeguard that rejected uninitialized DSM registry entries, preventing their use after initialization failures but leaving them permanently unusable #1.
- Robert Haas objected that recovery required restarting the server and suggested discarding failed allocations and permitting retries, while Nathan initially defended the safeguard because failures appeared rare and retrying partially completed callbacks seemed risky #2 #3 #4.
- Robert proposed postponing pinning until initialization succeeded so transaction cleanup could reclaim failed allocations automatically, and Nathan agreed to implement that approach #6 #7.
- Nathan submitted a revert plus retry implementation and then simplified its explicit cleanup, retaining registry-entry deletion in PG_CATCH blocks and preserving successfully allocated tranche IDs across later failures #8 #9.
- Robert questioned the remaining PG_CATCH cleanup and proposed retaining partially initialized entries with independently retryable initialization stages; Nathan explained the need to avoid leaking tranche IDs, and Robert emphasized cleanup-order hazards before transaction abort #10 #11 #12 #14.
- Nathan adopted staged initialization without PG_CATCH blocks, using invalid handles and an unassigned tranche sentinel to resume progress safely, and Robert reviewed the result favorably #15 #16.
- After reporting successful tests, Nathan added filtering of partially initialized entries from the allocation view; Robert accepted that behavior while expressing a preference for displaying such entries distinctly and noting that he had not opened the new patch files #17 #18.
- Nathan landed the revert from the final submission as c7e0f263d6 and the replacement retry logic as 2fc5c50622; these supplied representative SHAs contain DSM-only branch adaptations, while their supplied commit groups include the full submitted changes #17.
- Nathan’s final message confirmed that both patches were committed, completing the replacement of permanent initialization failure with retryable initialization #19.