On Fri, Oct 9, 2026 at 4:00 AM Alexander Lakhin <[email protected]> wrote: > Your patch works for me test-wise. The same test loop passed 100+ > iterations successfully. Thank you for paying attention to this!
Thanks for the test! On second thought, we can simplify the test by waiting for the postmaster to log "all server processes terminated; reinitializing" instead of using another backend connection to detect the crash. This ensures that the postmaster has detected the crash and started restarting. The attached patch takes this approach. Thoughts? Regards, -- Fujii Masao
v2-0001-Fix-crash-restart-race-in-041_checkpoint_at_promo.patch
Description: Binary data
