patroni.watchdog.base module
- class patroni.watchdog.base.Watchdog(config: Config)
Bases:
object
Facade to dynamically manage watchdog implementations and handle config changes.
When activation fails underlying implementation will be switched to a Null implementation. To avoid log spam activation will only be retried when watchdog configuration is changed.
- exception patroni.watchdog.base.WatchdogError(value: Any)
Bases:
PatroniException
Any problem faced while managing a watchdog device.