Making pg_rewind faster

2022-06-30 Thread vignesh ravichandran
Hi Hackers, I have been using pg_rewind in production for 2 years. One of the things that I noticed in pg_rewind is if it doesn't know what to do with a file "it copies". I understand it's the more safer option. After all, the alternative, pg_basebackup copies all the files from source to tar

Re: pg_rewind: warn when checkpoint hasn't happened after promotion

2022-06-07 Thread vignesh ravichandran
I think this is a good improvement and also like the option (on pg_rewind) to potentially send checkpoints to the source. Personal anecdote. I was using stolon and frequently failing over. For sometime the rewind was failing that it wasn't required. Only learnt that it's the checkpoint on th