Closed mthaddon closed 1 year ago
Here's the output of /var/snap/charmed-postgresql/current/etc/patroni/patroni.yaml in case that's relevant https://pastebin.ubuntu.com/p/ycc8fWrN7C/
Thanks for the report and all the logs, Tom.
The latest revision from 14/edge
channel has the fix for this issue.
You can try with the following commands (note that you need to run the pre-upgrade-check
action before refreshing the charm):
juju deploy postgresql --channel=14/edge --revision=323 pg-upgraded
juju deploy postgresql --channel=14/edge --revision=336 pg-not-upgraded
juju ssh pg-upgraded/0 sudo grep shared_buff /var/snap/charmed-postgresql/common/var/lib/postgresql/postgresql.conf
juju ssh pg-not-upgraded/0 sudo grep shared_buff /var/snap/charmed-postgresql/common/var/lib/postgresql/postgresql.conf
juju run pg-upgraded/leader pre-upgrade-check
juju refresh pg-upgraded --revision=336 --channel=14/edge
juju ssh pg-upgraded/0 sudo grep shared_buff /var/snap/charmed-postgresql/common/var/lib/postgresql/postgresql.conf
Steps to reproduce
Expected behavior
Upgraded charm should have new tuning options
Actual behavior
Versions
Operating system: 22.04
Juju CLI: 3.1.6
Juju agent: 3.1.6
Charm revision:
LXD: 5.18
Log output
As above
Additional context