Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Patroni cluster have 1 member replica stooped #2847

Open
P0m1dorka opened this issue Jan 19, 2025 · 0 comments
Open

Patroni cluster have 1 member replica stooped #2847

P0m1dorka opened this issue Jan 19, 2025 · 0 comments

Comments

@P0m1dorka
Copy link

Hello guys, after a patroni cluster crash, I am trying to bring up the host that was the leader. I stopped the patroni service in all nodes, then removed patroni cluster with patronictl -c /etc/patroni/patroni.yml remove some-cluster and then started the patroni service on the last master, but now I have this situation.

+ Cluster: some-cluster (MYNUMBER) +---------+---------+----+-----------+
| Member                                           | Host        | Role    | State   | TL | Lag in MB |
+-----------------------------------------------+-------------+---------+---------+----+-----------+
| hostname1                                      | 192.168.3.5 | Replica | stopped |    |   unknown |
+-----------------------------------------------+-------------+---------+---------+----+-----------+

In patroni log

2025-01-20 00:59:47 INFO: Lock owner: None; I am hostname1
2025-01-20 00:59:47 INFO: not healthy enough for leader race
2025-01-20 00:59:47 INFO: doing crash recovery in a single user mode in progress

Can anybody help me, please)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant