Postgres-operator: Cluster stuck in no leader situation

Created on 28 Jan 2020  路  6Comments  路  Source: zalando/postgres-operator

Hi, we met some issues earlier this week. We have a test cluster made of 3 pods. After the weekend all of pods were demoted to replicas. Unfortunately, we don't have logs saved, but all nodes claimed that they failed acquiring lock and follow another leader. We cannot tell what caused the issue.
Restarting pods resolved the problem and cluster started working fine.
Does anybody know what could be the reason and also if it is healthy state that cluster cannot elect the master and demotes every node to replica?

patroni

Most helpful comment

Thanks a lot for the answer.
Any insights when the new image is being released on zalando registry?

All 6 comments

Without logs it is not possible to tell what was wrong.

At least it would be nice if you specify what spilo version you run

At least it would be nice if you specify what spilo version you run

It is:

spec:
  dockerImage: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p16

I see...
There is one suspect: https://github.com/zalando/patroni/pull/1366/files, but no new image yet released

Thanks a lot for the answer.
Any insights when the new image is being released on zalando registry?

Was this page helpful?
0 / 5 - 0 ratings