model-writtenrun 655 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed replacing condition-variable waits with atomic counters and exponential polling, preserving interrupt checks so injection waits could work where latches were unavailable, and raised possible backpatching to version 17 in #1.
- Robert Haas questioned the loss of responsiveness in #2; Michael explained the portability and flexibility tradeoff in #3, and Heikki Linnakangas clarified that condition variables require a PGPROC unavailable in postmaster and some authentication contexts in #5, resolving Robert's question in #6.
- Andrey Borodin identified postmaster-death testing as another use case and questioned moving the counter increment outside the spinlock in #8, then reported that the patch worked in his corruption experiments in #9; the eventual implementation retained the increment outside the lock.
- Michael rejected fixed sleeps as unreliable across buildfarm machines and sought observable waits without PGPROC in #12; Andrey proposed file-mapped state in #13, and Michael highlighted Windows portability requirements in #14.
- Andrey expanded Michael's unchanged atomics patch into a prototype with separate mapped files for the core registry and module wait state, a standalone C client, and a TAP test in #15, while acknowledging unresolved locking and atomic-layout portability issues.
- After Windows CI exposed invalid inherited mapping pointers, Andrey revised the prototype to map registry state lazily in each process, anchor paths to the data directory, and wait for concurrent creators to size backing files in #16, reporting green CI.
- Michael rejected the prototype's invasive core changes, mirrored structures, and unlocked external updates in #17, proposing filesystem markers and startup attachment through the existing API instead.
- Andrey adopted that simpler design in #18, using per-point directories to attach waits and per-PID files to observe and release individual waiters, while leaving runtime reload deferred and asking which concrete regression test justified the facility.
- Michael committed the atomics prerequisite from #18 as 8daeaa9b64, with declaration cleanup and an explicit maximum-delay clamp; the commit limited the change to HEAD pending buildfarm experience, and Michael announced the landing while requesting stronger filesystem use cases in #19.
- Heikki recalled pre-authentication connection-limit scenarios in #20, prompting Andrey to resend the remaining filesystem patch with a new test that fills connection slots using blocked pre-authentication backends in #21; the atomics change was landed, while the filesystem facility and its justification remained under review.