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