Skip to content

Commit c6e70a9

Browse files
authoredFeb 15, 2019
Release 1.5.5 (patroni#979)
* Bump version * Update release notes
1 parent 0ec1760 commit c6e70a9

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed
 

‎docs/releases.rst

+38
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,44 @@
33
Release notes
44
=============
55

6+
Version 1.5.5
7+
-------------
8+
9+
This version introduces the possibility of automatic reinit of the former master, improves patronictl list output and fixes a number of bugs.
10+
11+
**New features**
12+
13+
- Add support of `PATRONI_ETCD_PROTOCOL`, `PATRONI_ETCD_USERNAME` and `PATRONI_ETCD_PASSWORD` environment variables (Étienne M)
14+
15+
Before it was possible to configure them only in the config file or as a part of `PATRONI_ETCD_URL`, which is not always convenient.
16+
17+
- Make it possible to automatically reinit the former master (Alexander Kukushkin)
18+
19+
If the pg_rewind is disabled or can't be used, the former master could fail to start as a new replica due to diverged timelines. In this case, the only way to fix it is wiping the data directory and reinitializing. This behavior could be changed by setting `postgresql.remove_data_directory_on_diverged_timelines`. When it is set, Patroni will wipe the data directory and reinitialize the former master automatically.
20+
21+
- Show information about timelines in patronictl list (Alexander)
22+
23+
It helps to detect stale replicas. In addition to that, `Host` will include ':{port}' if the port value isn't default or there is more than one member running on the same host.
24+
25+
- Create a headless service associated with the $SCOPE-config endpoint (Alexander)
26+
27+
The "config" endpoint keeps information about the cluster-wide Patroni and Postgres configuration, history file, and last but the most important, it holds the `initialize` key. When the Kubernetes master node is restarted or upgraded, it removes endpoints without services. The headless service will prevent it from being removed.
28+
29+
**Bug fixes**
30+
31+
- Adjust the read timeout for the leader watch blocking query (Alexander)
32+
33+
According to the Consul documentation, the actual response timeout is increased by a small random amount of additional wait time added to the supplied maximum wait time to spread out the wake up time of any concurrent requests. It adds up to `wait / 16` additional time to the maximum duration. In our case we are adding `wait / 15` or 1 second depending on what is bigger.
34+
35+
- Always use replication=1 when connecting via replication protocol to the postgres (Alexander)
36+
37+
Starting from Postgres 10 the line in the pg_hba.conf with database=replication doesn't accept connections with the parameter replication=database.
38+
39+
- Don't write primary_conninfo into recovery.conf for wal-only standby cluster (Alexander)
40+
41+
Despite not having neither `host` nor `port` defined in the `standby_cluster` config, Patroni was putting the `primary_conninfo` into the `recovery.conf`, which is useless and generating a lot of errors.
42+
43+
644
Version 1.5.4
745
-------------
846

‎patroni/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.5.4'
1+
__version__ = '1.5.5'

0 commit comments

Comments
 (0)
Please sign in to comment.