Re: [Bug fix]There is the case archive_timeout parameter isignored after recovery works. - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: [Bug fix]There is the case archive_timeout parameter isignored after recovery works.
Date
Msg-id 20200629.172741.1930880238749850484.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: [Bug fix]There is the case archive_timeout parameter isignored after recovery works.  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
At Mon, 29 Jun 2020 16:41:11 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> Anyway, the attached patch would resolve your problem.

I found another issue related to my last patch.

For the current master (and older versions) if walreceiver is signaled
to exit just after a segment is completed, walreceiver exits without
marking the last segment as ".ready".  After restart, it doesn't
remember that it didn't notified the last segment and the segment is
missing in archive. I think this is really a bug.

With the patch, that failure won't happen.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: TAP tests and symlinks on Windows
Next
From: Bharath Rupireddy
Date:
Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessionslinger till the local session exit