Re: BUG #17577: pg_ctl promote is not preemptive in archive recovery

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: daniel(at)fdr(dot)io, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17577: pg_ctl promote is not preemptive in archive recovery
Date: 2022-08-05 19:21:01
Message-ID: CAKFQuwaK1urL_7QfVNwY=DEcUqHAx9_JdMeeR1=dGRy7KQBjtA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Aug 5, 2022 at 12:10 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 17577
> Logged by: Daniel Farina
> Email address: daniel(at)fdr(dot)io
> PostgreSQL version: 14.4
> Operating system: AlmaLinux 8.6
> Description:
>
>
> 5) try to run pg_ctl promote while the server is in archive restore
> 6) it will block until timeout, and not promote until restore_command exits
> abnormally
>
>
On what basis are you considering this a bug? Or, IOW, what do you expect
to happen? It doesn't seem possible for the promotion to actually happen
as the server knows additional WAL must exist that it hasn't yet restored
since all attempts to restore WAL have succeeded.

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Farina 2022-08-05 20:01:19 Re: BUG #17577: pg_ctl promote is not preemptive in archive recovery
Previous Message PG Bug reporting form 2022-08-05 18:30:36 BUG #17577: pg_ctl promote is not preemptive in archive recovery