Re: recovery starting when backup_label exists, but not recovery.signal

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, David Steele <david(at)pgmasters(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: recovery starting when backup_label exists, but not recovery.signal
Date: 2019-09-27 19:35:33
Message-ID: 465f6aed-8b7b-2a6a-d00f-749cd4da84e0@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2019-09-27 19:52:15 Re: Two pg_rewind patches (auto generate recovery conf and ensure clean shutdown)
Previous Message Tom Lane 2019-09-27 19:28:38 Re: Attempt to consolidate reading of XLOG page