| Conceptually, the operator's task is just to change the pod. As it has no influence over the role the pod will take (either the master or a replica), it shouldn't wait for the specific role. This fixes at least one issue, where the pod running in a single-pod cluster has been waited for forever by the operator expecting it to have a wrong role (since Patroni callback assiging it the original replica role has been killed after a quick promote by the next callback.) | ||
|---|---|---|
| .. | ||
| cluster.go | ||
| k8sres.go | ||
| pg.go | ||
| pod.go | ||
| resources.go | ||
| sync.go | ||
| util.go | ||