You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/releases.rst
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,26 @@
3
3
Release notes
4
4
=============
5
5
6
+
Version 4.1.2
7
+
-------------
8
+
9
+
Released 2026-04-21
10
+
11
+
**Systemd support improvements**
12
+
13
+
- Add support for ``notify-reload`` systemd unit type (Ronan Dunklau)
14
+
15
+
Allows ``systemctl reload`` to wait until Patroni has actually processed the configuration reload by sending ``RELOADING=1`` and ``READY=1`` notifications to systemd.
16
+
17
+
- Send ``STOPPING=1`` notification to systemd on shutdown (Alexander Kukushkin)
18
+
19
+
Patroni now properly notifies systemd that it is shutting down, following the systemd notify protocol.
20
+
21
+
- Do not let PostgreSQL to notify systemd (Alexander Kukushkin)
22
+
23
+
Remove ``NotifyAccess=all`` from the example systemd unit file. Filter ``NOTIFY_SOCKET`` from the environment when starting PostgreSQL so it doesn't send ``READY=1`` or ``STOPPING=1`` to systemd. When taking over a PostgreSQL that was started before Patroni and already has ``NOTIFY_SOCKET``, re-assert ``READY=1`` during PostgreSQL shutdown to counteract its ``STOPPING=1``.
0 commit comments