Re: Possible missing segments in archiving on standby

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Possible missing segments in archiving on standby
Date: 2021-09-09 15:09:08
Message-ID: bdb10ec1-2a29-372e-e529-5d4c182a470b@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/09/08 22:41, Fujii Masao wrote:
> So probably we reached the consensus that something like the attached patch
> (XLogArchiveCheckDone_walfile_xlog_switch.patch) is enough for the corner
> case where walreceiver fails to create .ready file of WAL file including
> XLOG_SWITCH?

I attached the patch again, just in the case.

>> Sounds convincing.  Ok, I agree to that.
>
> So barring any objection, I will commit the patch
> and back-patch it to all supported version.

Pushed. Thanks!

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Attachment Content-Type Size
XLogArchiveCheckDone_walfile_xlog_switch.patch text/plain 1.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Anton Voloshin 2021-09-09 15:17:35 Re: missing warning in pg_import_system_collations
Previous Message Antonin Houska 2021-09-09 15:04:21 Re: POC: Cleaning up orphaned files using undo logs