From: Bruce Momjian <bruce@momjian.us>
To: Martin Marques <martin.marques@2ndquadrant.com>
Cc: DEGLAVE Remi <remi.deglave@lyreco.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Subject: Re: [PG_UPGRADE] 9.6 to 10.5
Date: Tue, 14 Aug 2018 17:23:35 -0400
Message-ID: <20180814212335.GD23476@momjian.us> (raw)
In-Reply-To: <15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com>
References: <AM6PR02MB3782E6A52BDA2A806B6A587AFE240@AM6PR02MB3782.eurprd02.prod.outlook.com>
<20180810161245.GA7815@momjian.us>
<15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com>
On Fri, Aug 10, 2018 at 05:41:14PM -0300, Martin Marques wrote:
> El 10/08/18 a las 13:12, Bruce Momjian escribió:
> > On Fri, Aug 10, 2018 at 12:51:29PM +0000, DEGLAVE Remi wrote:
> >> The source cluster was not shut down cleanly.
> >>
> >> Failure, exiting
> >>
> >> I tried to restart and shutdown clusters with another methods (-m options of
> >> pg_ctl, killing processes, …) still have the same issue.
> >
> > There is new code in PG 10.5 thta detects that the server is cleanly
> > shut down. You can no longer use '-m immediate' to shut down either
> > server, but 'smart' and 'fast' should be fine. Can you run
> > pg_controldata on each cluster before you run pg_upgrade to verify that
> > they say "Shutdown":
>
> He did mention trying to shutdown with different modes, and ended with
> the same result after pg_upgrade.
>
> I would recommend running pg_upgrade in verbose mode (add the -v option
> to the cmd), capture the output and open a thread in pgsql-general list
> (or send it back here for further review).
I have not seen any report from the original reporter so I have gone
ahead and committed the fix suggested by Michael Paquier.
This means that standby upgrades will fail in 10.5 until 10.6 is
released. Ugh! I guess users can upgrade to 10.4 and then do a minor
upgrade to 10.5 as a workaround.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, martin.marques@2ndquadrant.com, remi.deglave@lyreco.com, michael.paquier@gmail.com
Subject: Re: [PG_UPGRADE] 9.6 to 10.5
In-Reply-To: <20180814212335.GD23476@momjian.us>
References: <AM6PR02MB3782E6A52BDA2A806B6A587AFE240@AM6PR02MB3782.eurprd02.prod.outlook.com> <20180810161245.GA7815@momjian.us> <15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com> <20180814212335.GD23476@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox