mirror of
https://github.com/optim-enterprises-bv/patroni.git
synced 2025-10-30 10:02:35 +00:00
* new node can join the cluster dynamically and become a part of consensus * it is also possible to join only Patroni cluster (without adding the node to the raft), just comment or remove `raft.self_addr` for that * when the node joins the cluster it is using values from `raft.partner_addrs` only for initial discovery. * It is possible to run Patroni and Postgres on two nodes plus one node with `patroni_raft_controller` (without Patroni and Postgres). In such setup one can temporarily lose one node without affecting the primary.
7 lines
103 B
Python
Executable File
7 lines
103 B
Python
Executable File
#!/usr/bin/env python
|
|
from patroni.raft_controller import main
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|