Re: new option to allow pg_rewind to run without full_page_writes

2022-11-07 Thread Jérémie Grauer
(the usual advice is to configure ZFS with a recordsize of 8K for postgres, but on some workloads, it can actually be beneficial to go to a higher multiple of 8K). On 06/11/2022 03:38, Andres Freund wrote: Hi, On 2022-11-03 16:54:13 +0100, Jérémie Grauer wrote: Currently pg_rewind refuses to run

new option to allow pg_rewind to run without full_page_writes

2022-11-03 Thread Jérémie Grauer
Hello, Currently pg_rewind refuses to run if full_page_writes is off. This is to prevent it to run into a torn page during operation. This is usually a good call, but some file systems like ZFS are naturally immune to torn page (maybe btrfs too, but I don't know for sure for this one).