Re: [HACKERS] Clarification in pg10's pgupgrade.html step 10(upgrading standby servers)
От | Michael Banck |
---|---|
Тема | Re: [HACKERS] Clarification in pg10's pgupgrade.html step 10(upgrading standby servers) |
Дата | |
Msg-id | 20170913173931.GA12194@nighthawk.caipicrew.dd-dns.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] Clarification in pg10's pgupgrade.htmlstep 10 (upgrading standby servers) (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: [HACKERS] Clarification in pg10's pgupgrade.html step 10(upgrading standby servers)
|
Список | pgsql-hackers |
On Tue, Sep 12, 2017 at 07:38:40PM -0400, Stephen Frost wrote: > Further, really, I think we should provide a utility to do all of the > above instead of using rsync- and that utility should do some additional > things, such as: > > - Check that the control file on the primary and replica show that they > reached the same point prior to the pg_upgrade. If they didn't, then > things could go badly as there's unplayed WAL that the primary got > through and the replica didn't. > > - Not copy over unlogged data, or any other information that shouldn't > be copied across. > > - Allow the directory structures to be more different between the > primary and the replica than rsync allows (wouldn't have to have a > common subdirectory on the replica). > > - Perhaps other validation checks or similar. > > Unfortunately, this is a bit annoying as it necessairly involves running > things on both the primary and the replica from the same tool, without > access to PG, meaning we'd have to work through something else (such as > SSH, like rsync does, but then what would we do for Windows...?). Maybe pg_rewind's mechanism could be partially reused for this as it seems to accomplish something vaguely similar AIUI? Michael -- Michael Banck Projektleiter / Senior Berater Tel.: +49 2166 9901-171 Fax: +49 2166 9901-100 Email: michael.banck@credativ.de credativ GmbH, HRB Mönchengladbach 12080 USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: