pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sébastien Lardière <sebastien@lardiere.net>
To: pgsql-pkg-debian@lists.postgresql.org
Subject: Upgrade packages - Control Instance
Date: Tue, 21 May 2019 11:58:15 +0200
Message-ID: <f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net> (raw)

Hi,

I'm looking for a way to control the way instances are restarted when
`apt upgrade` run => sometime, if there is a large number of packages to
upgrade, the instances is stopped for a long time.

In the past, I used to use start.conf with manual setting, then restart
"manually" after the upgrade, which give downtime as short as I can ;
but now, it seems that "stop" is always done, even when i disable the
systemd service (ok,it is weird to disable service and to want the
service up, I know ) => I think that the fact we can't forbid the stop
is not correct.

I know that I can hold the postgresql packages, run the big `apt
upgrade` then unhold packages and do the postgresql upgrade, but I think
it's a more complicated way to do it.

Am I miss something ?

Am I the only one disturbed by the fact that we can't forbid stop ?

regards,

-- 

Sébastien






view thread (3+ messages)  latest in thread

Message-ID: <f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net>
Permalink:  ../f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net/
Also on:    postgresql.org/message-id/f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net

 · 

reply

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-pkg-debian@postgresql.org
  Cc: sebastien@lardiere.net
  Subject: Re: Upgrade packages - Control Instance
  In-Reply-To: <f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net>
  References: <f4efadb7-ecb0-ba1f-383b-b9a38f988f87@lardiere.net>

* 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