patroni.raft_controller module
- class patroni.raft_controller.RaftController(config: Config)View on GitHub
Bases:
AbstractPatroniDaemon
- __init__(config: Config) None View on GitHub
Set up signal handlers, logging handler and configuration.
- Parameters:
config – configuration options for this daemon.
- _abc_impl = <_abc._abc_data object>
- _run_cycle() None View on GitHub
Define what the daemon should do in each execution cycle.
Keep being called in the daemon’s main loop until the daemon is eventually terminated.
- _shutdown() None View on GitHub
Define what the daemon should do when shutting down.
- patroni.raft_controller.main() None View on GitHub