> 5 авг. 2020 г., в 23:13, Heikki Linnakangas <hlinn...@iki.fi> написал(а):
> 
> A colleague of mine brought to my attention that pg_rewind is not crash safe. 
> If it is interrupted for any reason, it leaves behind a data directory with a 
> mix of data from the source and target images. If you're "lucky", the server 
> will start up, but it can be in an inconsistent state. 

FWIW we routinely encounter cases when after unsuccessful pg_rewind databases 
refuses to start with "contrecord requested" message.
I did not investigate this in detail yet, but I think it is a result of wrong 
redo recptr written to control file (due to interruption or insufficient 
present WAL segments).

Best regards, Andrey Borodin.

Reply via email to