On 9/17/21, 9:37 AM, "Alvaro Herrera" <alvhe...@alvh.no-ip.org> wrote: > OK, this version is much more palatable, because here we verify that the > OVERWRITE_CONTRECORD we replay matches the record that was lost. Also, > I wrote a test script that creates such a broken record (by the simple > expedient of deleting the WAL file containing the second half while the > server is down); we then create a standby and we can observe that it > replays the sequence correctly. > > If you have some time to try your reproducers with this new proposed > fix, I would appreciate it.
I haven't had a chance to look at the patch yet, but it appears to fix things with my original reproduction steps for the archive_status stuff [0]. Nathan [0] https://postgr.es/m/CBDDFA01-6E40-46BB-9F98-9340F4379505%40amazon.com