Re: [BUG] non archived WAL removed during production crash recovery

From: Jehan-Guillaume de Rorthais <jgdr(at)dalibo(dot)com>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, michael(at)paquier(dot)xyz
Subject: Re: [BUG] non archived WAL removed during production crash recovery
Date: 2020-04-02 15:44:50
Message-ID: 20200402174450.70de9ab5@firost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, 2 Apr 2020 23:55:46 +0900
Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote:

[...]
> > Well, it seems to me that this is what you suggested few paragraph away:
> >
> > «.ready files are removed when either archive_mode!=always in standby
> > mode»
>
> Yes, so I'm fine with that as the first consensus because the behavior
> is obviously better than the current one. *If* the case where no WAL files
> should be removed is found, I'd just like to propose the additional patch.

Do you mean to want to produce the next patch yourself?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-04-02 15:55:18 BUG #16338: casting interval '24h' to time returns '00:00:00' instead of '24:00:00'
Previous Message Jehan-Guillaume de Rorthais 2020-04-02 15:37:44 Re: [BUG] non archived WAL removed during production crash recovery

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-04-02 15:44:59 Re: WIP/PoC for parallel backup
Previous Message Jehan-Guillaume de Rorthais 2020-04-02 15:37:44 Re: [BUG] non archived WAL removed during production crash recovery