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 1jebl8-0002wC-G4 for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 09:57:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jebl4-00027t-Bu for pgsql-general@arkaria.postgresql.org; Fri, 29 May 2020 09:56:58 +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 1jebl3-00027k-VL for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 09:56:57 +0000 Received: from smtp.burggraben.net ([2a01:4f8:140:510a::3]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jebky-0007Dh-Vu for pgsql-general@lists.postgresql.org; Fri, 29 May 2020 09:56:56 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 13691C0030B for ; Fri, 29 May 2020 11:56:49 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 9CC3C139849; Fri, 29 May 2020 11:56:49 +0200 (CEST) Date: Fri, 29 May 2020 11:56:49 +0200 From: Christoph Moench-Tegeder To: pgsql-general@lists.postgresql.org Subject: Re: Linux Update Experience Message-ID: <20200529095649.GB2410@elch.exwg.net> References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch> <90960e1f-37ea-59f7-50cb-965865d985da@aklaver.com> <20200529070949.GA32670@hjp.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200529070949.GA32670@hjp.at> User-Agent: Mutt/1.14.2 (2020-05-25) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ## Peter J. Holzer (hjp-pgsql@hjp.at): > * Update frequently. That reduces the risk of needing a package which > has since been deleted from a repo, but more importantly it makes it > easier to pinpoint the cause of a conflict. This. Plus: make sure you can re-create any machine in a fully deterministic manner - that way, you can easily create a test environment to match production (minus RAM/CPU/storage) for testing upgrades beforehand. Rationale: experience shows that using Test as "first stage" and carrying changes forward to Production results in a "contaminated" test environment; before long, results of failed experiments have accumulated on Test, Production and Test are diverging, and at that point Test has lost it's purpose. (For some people, that's a point for containerization: you don't change a running container, but package a new one. Other environments have so much Production with all the redundancy etc that they can "test in production" and just scrap-and-replace failed tests, but that's not an option if you have just a handful of systems.) Regards, Christoph -- Spare Space