From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Pradeep Chhetri <pradeepchhetri4444@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Handling glibc v2.28 breaking changes
Date: Mon, 25 Apr 2022 13:45:24 +0200
Message-ID: <cdcde4eb6a22423c4ea5b36be287e979ec355d89.camel@cybertec.at> (raw)
In-Reply-To: <CAJSq+ao9bx0CRRzTK+gHmmRmZtSosm6_wd66kx+7sNYaZR=8Tg@mail.gmail.com>
References: <CAJSq+ao9bx0CRRzTK+gHmmRmZtSosm6_wd66kx+7sNYaZR=8Tg@mail.gmail.com>
On Sun, 2022-04-24 at 23:31 +0800, Pradeep Chhetri wrote:
> I am sure this has been discussed multiple times in the past but I would like to initiate
> this discussion again. I have 3 nodes cluster of Postgres v9.6. They all are currently
> running on Debian 9 (with glibc v2.24) and need to upgrade them to Debian 10 (with glibc v2.28)
> without downtime. In order to bypass the glibc issue, I am trying to evaluate whether I can
> compile glibc v2.24 on Debian 10, pin postgres to use this manually compiled glibc and
> upgrade the linux distribution in rolling fashion.
Don't use an old glibc.
You will want to move to a different machine or upgrade the operating system, so you will
have some down time anyway.
You could consider upgrade in several steps:
- pg_upgrade to v14 on the current operating system
- use replication, than switchover to move to a current operating system on a different
machine
- REINDEX CONCURRENTLY all indexes on string expressions
You could get data corruption and bad query results between the second and the third steps,
so keep that interval short.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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-general@postgresql.org
Cc: laurenz.albe@cybertec.at, pradeepchhetri4444@gmail.com
Subject: Re: Handling glibc v2.28 breaking changes
In-Reply-To: <cdcde4eb6a22423c4ea5b36be287e979ec355d89.camel@cybertec.at>
References: <CAJSq+ao9bx0CRRzTK+gHmmRmZtSosm6_wd66kx+7sNYaZR=8Tg@mail.gmail.com> <cdcde4eb6a22423c4ea5b36be287e979ec355d89.camel@cybertec.at>
* 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