Re: [PG_UPGRADE] 9.6 to 10.5

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: DEGLAVE Remi <remi(dot)deglave(at)lyreco(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [PG_UPGRADE] 9.6 to 10.5
Date: 2018-08-10 16:12:45
Message-ID: 20180810161245.GA7815@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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":

$ pg_controldata /u/pg/data
...
Database cluster state: shut down
---------

--
Bruce Momjian <bruce(at)momjian(dot)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 +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2018-08-10 16:36:53 Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0
Previous Message Amit Kapila 2018-08-10 13:45:48 Re: BUG #15309: ERROR: catalog is missing 1 attribute(s) for relid 760676 when max_parallel_maintenance_workers > 0