From 710afd59520b54bb05f7d61bf6bbc76738425eea Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Tue, 26 Sep 2023 12:30:27 +0200 Subject: [PATCH] Release v3.1.2 (#2885) - bump version - update release notes --- docs/releases.rst | 22 ++++++++++++++++++++++ patroni/version.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/releases.rst b/docs/releases.rst index 5d4af2cc..34c44047 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -3,6 +3,28 @@ Release notes ============= +Version 3.1.2 +------------- + +**Bugfixes** + +- Fixed bug with ``wal_keep_size`` checks (Alexander Kukushkin) + + The ``wal_keep_size`` is a GUC that normally has a unit and Patroni was failing to cast its value to ``int``. As a result the value of ``bootstrap.dcs`` was not written to the ``/config`` key afterwards. + +- Detect and resolve inconsistencies between ``/sync`` key and ``synchronous_standby_names`` (Alexander Kukushkin) + + Normally, Patroni updates ``/sync`` and ``synchronous_standby_names`` in a very specific order, but in case of a bug or when someone manually reset ``synchronous_standby_names``, Patroni was getting into an inconsistent state. As a result it was possible that the failover happens to an asynchronous node. + +- Read GUC's values when joining running Postgres (Alexander Kukushkin) + + When restarted in ``pause``, Patroni was discarding the ``synchronous_standby_names`` GUC from the ``postgresql.conf``. To solve it and avoid similar issues, Patroni will read GUC's value if it is joining an already running Postgres. + +- Silenced annoying warnings when checking for node uniqueness (Alexander Kukushkin) + + ``WARNING`` messages are produced by ``urllib3`` if Patroni is quickly restarted. + + Version 3.1.1 ------------- diff --git a/patroni/version.py b/patroni/version.py index ff98d3c0..b2ab33ce 100644 --- a/patroni/version.py +++ b/patroni/version.py @@ -2,4 +2,4 @@ :var __version__: the current Patroni version. """ -__version__ = '3.1.1' +__version__ = '3.1.2'