Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpgn3-0006TG-Lb for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Aug 2018 21:23:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpgn1-0002PQ-Ga for pgsql-bugs@arkaria.postgresql.org; Tue, 14 Aug 2018 21:23:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpgn1-0002PJ-Al for pgsql-bugs@lists.postgresql.org; Tue, 14 Aug 2018 21:23:43 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fpgmx-00081q-55 for pgsql-bugs@postgresql.org; Tue, 14 Aug 2018 21:23:42 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fpgmt-0003h5-Qa; Tue, 14 Aug 2018 17:23:35 -0400 Date: Tue, 14 Aug 2018 17:23:35 -0400 From: Bruce Momjian To: Martin Marques Cc: DEGLAVE Remi , "pgsql-bugs@postgresql.org" , Michael Paquier Subject: Re: [PG_UPGRADE] 9.6 to 10.5 Message-ID: <20180814212335.GD23476@momjian.us> References: <20180810161245.GA7815@momjian.us> <15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15fa3462-a3da-2134-1c4e-8127f50ed304@2ndquadrant.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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 +