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 1phBep-0000l3-SJ for pgsql-general@arkaria.postgresql.org; Tue, 28 Mar 2023 15:54:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1phBdp-0005DF-M3 for pgsql-general@arkaria.postgresql.org; Tue, 28 Mar 2023 15:53:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phBdp-00059M-BA for pgsql-general@lists.postgresql.org; Tue, 28 Mar 2023 15:53:45 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phBdn-0008QL-3P for pgsql-general@lists.postgresql.org; Tue, 28 Mar 2023 15:53:44 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 35D711DDF4; Tue, 28 Mar 2023 17:53:42 +0200 (CEST) Date: Tue, 28 Mar 2023 17:53:42 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Patroni, slots, and expiring WALs Message-ID: <20230328155342.gmn33twufrwc7r65@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: <20230328145508.g6kl3sek6ycijvsg@hjp.at> <20230328152727.uvu66yb5myvibglm@hjp.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kgjxueeocdk7oyz6" Content-Disposition: inline In-Reply-To: <20230328152727.uvu66yb5myvibglm@hjp.at> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kgjxueeocdk7oyz6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-03-28 17:27:27 +0200, Peter J. Holzer wrote: > On 2023-03-28 17:08:38 +0200, Alexander Kukushkin wrote: > > The second option - you can put all member names into permanent slots > > configuration (using patronictl edit-config): > > slots: > > =A0 nodename1: > > =A0 =A0 type: physical > > =A0 nodename2: > > =A0 =A0 type: physical > > =A0 nodename3: > > =A0 =A0 type: physical > >=20 > > This way slots representing these members will not be removed. >=20 > That seems to work (at least the slot didn't disappear within a few > minutes). I'll do some more testing. Works nicely. Thanks! hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --kgjxueeocdk7oyz6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmQjDX4ACgkQ8g5IURL+ KF1vKg//YlncvOAQZTX3M68hRCNO7EIhkGbj7OMbRtfszvxunb6R2D9OdO4iCHOS ezzPmJIY6lS56ShZf5ezk+sqxWjdyJLsDDnAaaOc0oNe7epnVbznqq68C7BHKiy/ h6mMrjV4pd3gYC7CJ3oAAe1t4epRVF3frvUrflByhHkzHZlujDup7ZCirWgwnnsb PQyRBlQLC7ur6lbm6ER0HtZruR6PyVWkiOKYNA64E3cfZc/8JFcbm+xs20FQ0Lu5 nTOM8pNWqzR7j+ciT0+jF6uDlcecukqGUNpHV4dXb3HYm9scFqTJE1CtAlc9tDyA PEhFqA2YDH49M4J0HJ9DrY+MoGYtChS5tfYF9CYKdvua+STix+wMWmDoCgwFBgb0 G1XaGNlsoT5MNdHab/kI3M0JY+pf0YUnYrE8r5y5q89r6Wnw3AXPeZhGaSSGhJqW TqSC79kWwiEMSuGqsTsducAWQFWL+VHNZ9A4mQlvGdkH4O6RQXAaU+39y+plI8/h 5aTLv4ViNDam1kkwZ7f4lQoG63UGcq1eMokdWhQJkhXv9PXOhJEjGbO+moD+2Keb zf0mjNnC87NONuBkn+AEkYtdtqYKA1SgIXuipvfzqMEtSfaDygQNuyHRdExt8+iV gWouhQpxl/Cww5BGLK7KMQDZBHwfWAMvE98zNGmmJFVVVDepxlw= =pgTE -----END PGP SIGNATURE----- --kgjxueeocdk7oyz6--