pg.ddx.io  patroni/patroni GitHub issues and pull requests  
help / color / mirror / Atom feed
From: mdzhigarov (@mdzhigarov) <noreply+mdzhigarov@github.com>
To: patroni/patroni <noreply+patroni-patroni@github.com>
Subject: Re: [patroni/patroni] PR #3784: Write restore_command to postgresql.conf before running pg_rewind
Date: Tue, 17 Nov 2026 07:03:44 +0000
Message-ID: <gh-patroni-patroni-3784-c6941227160@github.com> (raw)
In-Reply-To: <gh-patroni-patroni-3784@github.com>
References: <gh-patroni-patroni-3784@github.com>

Thanks, that is cleaner. Reworked as you suggested: `write_restore_command()` in config.py, called from `Rewind.execute()` right before `pg_rewind`. Tests updated, and I re-ran the scenario from #3783: the rewind now restores the missing WAL from the archive and the node rejoins as a replica.

view thread (15+ messages)  latest in thread

Message-ID: <gh-patroni-patroni-3784-c6941227160@github.com>
Permalink:  ../gh-patroni-patroni-3784-c6941227160@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox