Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nieOy-0000Eb-Au for pgsql-general@arkaria.postgresql.org; Sun, 24 Apr 2022 15:43:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nieOw-0002Oh-TB for pgsql-general@arkaria.postgresql.org; Sun, 24 Apr 2022 15:43:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nieOv-0002OY-6D for pgsql-general@lists.postgresql.org; Sun, 24 Apr 2022 15:43:54 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nieOp-0003Pa-SX for pgsql-general@lists.postgresql.org; Sun, 24 Apr 2022 15:43:52 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AB7D15C00CE; Sun, 24 Apr 2022 11:43:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 24 Apr 2022 11:43:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1650815026; x= 1650901426; bh=SckfS5YXGRPHzfQQBQBxBf5BZcrYSrcTIhazY9OToeM=; b=g fehhMCLbGyuFeI27Y8ZeuJYzbOVuVALDkRPGjMaeDvU/8STrLW6CnAhRjt9m4Bgi nVUPj9AQm5hpx/+b8ynUYidnwonx/3YLoJEgtdMLPFPFPcRiYUB3BhWwWz1LWWHL iA2KGoXlaBFR6Fk+nTdG2sm5r/mkgCdU49FoPaXP7lZ4nyic49yySE3S80uBmxAQ 1teyi7dvxqz23beXoWUoQnY8yB+/TnMSqnJuC1CJdwosxl3JRnDtvqDPwSMKO3Wj kENCF26qC5/+gliNbAcs6I9dfQSAQgVYbUt8SiV88KI0gB0CYuLaZY3i3dtf2L0j QDXcwc1jXC4I9WxCFGcIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1650815026; x=1650901426; bh=SckfS5YXGRPHzfQQBQBxBf5BZcrY SrcTIhazY9OToeM=; b=nITRUpsJowAOZDBqzXO5j6KKLJYoO6seLqewVEfy83O8 2O4377czyz5tBVYkKoUNQ/AjTCFHySTTRUPQCvUkBelwN2WAEppNXqQaVYSlcNVi g65AX6gMDLvcz9l1sDvN5cEKNXyWwG/xB+5pneR/+K+tjM34rmAOnefT+r41fu1t 7bsAEVnQr/z8aD+xqn8LET+AlDRX7t2U0/gUsvXRYXGMZGW/Jba+cGCl6+5GAC/h qchXOhma8i3Cxm3gwy6hon/DBN5zPeV6Lkt/0v9VT7E59ZAWEIPED2XSeYO8/W5H hZ2z+ziDpioYtQH1c1y5dn//1LFw/AhbGh6BjdSXXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdelgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepleekgeejhfekteehfeduveetheeivdduheekudelteef vdffueehtddvgedtfeefnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgr nhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Apr 2022 11:43:45 -0400 (EDT) Message-ID: Date: Sun, 24 Apr 2022 08:43:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Handling glibc v2.28 breaking changes Content-Language: en-US To: Pradeep Chhetri , pgsql-general@lists.postgresql.org References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/24/22 08:31, Pradeep Chhetri wrote: > Hello everyone, > > 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. I would like to know how others have achieved such distro > upgrades without downtime. I am new to Postgres so please pardon my > ignorance. You are going to have to be more specific as upgrading a distro involves downtime. I'm guessing you mean downtime for Postgres, still at least one of the instances is going to be down while it's OS is being upgraded. So: 1) Define how the 3 node cluster works? 2) What is the locale for the Postgres instances? 3) What is acceptable downtime in the process? 4) Are you using ICU collation? Also you might want to look at: https://wiki.postgresql.org/wiki/Locale_data_changes > > Thank you for your help. > Best regards, > Pradeep -- Adrian Klaver adrian.klaver@aklaver.com