Improve initial leader selection

Bug #1904821 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-postgresql
New
Undecided
Unassigned

Bug Description

By setting the scale policy to 'serial', we can improve how the initial leader is selected. It the pod is alone, it must be the leader and can label itself as such, per https://discourse.charmhub.io/t/updated-podspec-yaml-new-features/2124/16 . We can probably avoid passing the list of pending-units via pod spec entirely, and avoid the issue of needing to map unit names to pod names which would also fix lp:1903625

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.