Skip to content

Commit 6b68503

Browse files
authored
Release v4.0.2 (patroni#3166)
- Increase version - Use newer pyright (not latest) - Add RNs
1 parent 78a46b9 commit 6b68503

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186

187187
- uses: jakebailey/pyright-action@v2
188188
with:
189-
version: 1.1.378
189+
version: 1.1.379
190190

191191
docs:
192192
runs-on: ubuntu-latest

docs/releases.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@
33
Release notes
44
=============
55

6+
Version 4.0.2
7+
-------------
8+
9+
Released 2024-09-17
10+
11+
**Bugfix**
12+
13+
- Handle exceptions while discovering configuration validation files (Alexander Kukushkin)
14+
15+
Skip directories for which Patroni does not have sufficient permissions to perform list operations.
16+
17+
- Make sure inactive hot physical replication slots don't hold ``xmin`` (Alexander Kukushkin, Polina Bungina)
18+
19+
Since version 3.2.0 Patroni creates physical replication slots for all members on replicas and periodically moves them forward using ``pg_replication_slot_advance()`` function. However if for any reason ``hot_standby_feedback`` is enabled and the primary is demoted to replica, the now inactive slots have ``NOT NULL`` ``xmin`` value propagated back to the new primary. This results in ``xmin`` horizon not being moved forward and vacuum not being able to clean up dead tuples. With this fix, Patroni recreates the physical replication slots that are supposed to be inactive but have ``NOT NULL`` ``xmin`` value.
20+
21+
- Fix unhandled ``DCSError`` during the startup phase (Waynerv)
22+
23+
Ensure DCS connectivity before trying to check the uniqueness of the node name.
24+
25+
- Explicitly include ``CMDLINE_OPTIONS`` GUCs when querying ``pg_settings`` (Alexander Kukushkin)
26+
27+
Make sure all GUCs that are passed to postmaster as command line parameters are restored when Patroni is joining a running standby. This is a follow-up for the bug fixed in Patroni 3.2.2.
28+
29+
- Fix bug in ``synchronous_standby_names`` quotting logic (Alexander Kukushkin)
30+
31+
According to PostgreSQL documentation, ``ANY`` and ``FIRST`` keywords are supposed to be double-quoted, which Patroni did not do before.
32+
33+
- Fix keepalive connection out-of-range issue (hadizamani021)
34+
35+
Ensure that ``keepalive`` option value calculated based on the ``ttl`` set does not exceed the maximum allowed value for the current platform.
36+
37+
638
Version 4.0.1
739
-------------
840

patroni/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
33
:var __version__: the current Patroni version.
44
"""
5-
__version__ = '4.0.1'
5+
__version__ = '4.0.2'

0 commit comments

Comments
 (0)