canonical / canonical/postgresql-operator

COS Integration / Patroni dashboard showing two leaders

Open
#657 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
20
Forks
36
Avg merge
4d 15h
Merged PRs (30d)
30

Description

## Steps to reproduce
1. Follow tutorial to integrate COS and Charmed PostgreSQL
2. Turn off primary postgresql machine

## Expected behavior
I expect to see only one leader in the dashboard
The off machine to show as down

It will be great to have a box that shows the name of the leader
And how much time that machine has been the leader

## Actual behavior
![image](https://github.com/user-attachments/assets/c4019780-8e78-41b4-849d-5474dda4bf7d)
See Patroni Leader "Yes Yes No"

## Versions
Operating system: Ubuntu 22.04
Juju: 3.4.6-genericlinux-amd64
Charm revision: 14/edge rev 502

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.