16.04.2025 08:24, Andrey Borodin пишет: > 2. After failover, old Primary node must rejoin cluster by running pg_rewind > and following timeline switch.
It is really do-able: BiHA already does it. And BiHA runs as a child process of postmaster, ie both postmaster and BiHA doesn't restart when PostgreSQL needs to rewind and restart. Yes, there are non-trivial amount of changes made into postmaster machinery. But it is doable. -- regards Yura Sokolov aka funny-falcon