Re: recovery starting when backup_label exists, but notrecovery.signal - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: recovery starting when backup_label exists, but notrecovery.signal
Date
Msg-id 465f6aed-8b7b-2a6a-d00f-749cd4da84e0@2ndquadrant.com
Whole thread Raw
In response to Re: recovery starting when backup_label exists, but not recovery.signal  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: recovery starting when backup_label exists, but notrecovery.signal
List pgsql-hackers
On 2019-09-27 10:34, Fujii Masao wrote:
>> Also, are you sure this is a new behavior?
> In v11 or before, if backup_label exists but not recovery.conf,
> the startup process doesn't enter an archive recovery mode. It starts
> crash recovery in that case. So the bahavior is somewhat different
> between versions.

Can you bisect this?  I have traced through xlog.c in both versions and
I don't see how this logic is any different in any obvious way.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Attempt to consolidate reading of XLOG page
Next
From: Alvaro Herrera
Date:
Subject: Re: Two pg_rewind patches (auto generate recovery conf and ensureclean shutdown)