Hi Igor,
On Fri, 26 Aug 2022 at 13:43, Lahnov, Igor <Igor.Lahnov@xxxxxxxxxx> wrote:
I can't answer your question. What do you think, the recovery from the archive should work in this case?
1. the partial file should not be restored at all cases
2. the partial file should recover as a partial and replace the local partial
3. recovery command, should return a conflict - file already exists
The partial file should never be restored automatically.
I have no clue why pg_probackup developers decided to do it.
Postgres never requests the partial file using the restore_command, instead, it requests a file from the next timeline.
Regards,
--
Alexander Kukushkin