Patroni
3.1
Contents:
Introduction
Patroni configuration
Patroni REST API
Replica imaging and bootstrap
Replication modes
Watchdog support
Pause/Resume mode for the cluster
DCS Failsafe Mode
Using Patroni with Kubernetes
Citus support
Convert a Standalone to a Patroni Cluster
Major Upgrade of PostgreSQL Version
Security Considerations
HA multi datacenter
Release notes
Contributing
Patroni
Docs
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
Z
A
Aborted (patroni.dcs.etcd3.GRPCCode attribute)
abstract_main() (in module patroni.daemon)
AbstractDCS (class in patroni.dcs)
AbstractEtcd (class in patroni.dcs.etcd)
AbstractEtcdClientWithFailover (class in patroni.dcs.etcd)
AbstractPatroniDaemon (class in patroni.daemon)
acquire_lock() (patroni.ha.Ha method)
activate() (patroni.watchdog.base.Watchdog method)
(patroni.watchdog.Watchdog method)
add() (patroni.collections.CaseInsensitiveSet method)
add_task() (patroni.postgresql.citus.CitusHandler method)
adjust_postgres_gucs() (patroni.postgresql.citus.CitusHandler method)
adjust_ttl() (patroni.dcs.consul.Consul method)
ALLOWED_KEYS (patroni.dcs.RemoteMember attribute)
AlreadyExists (patroni.dcs.etcd3.GRPCCode attribute)
api_execute() (patroni.dcs.etcd.AbstractEtcdClientWithFailover method)
api_servers_cache (patroni.dcs.kubernetes.K8sClient.ApiClient attribute)
api_sigterm() (patroni.daemon.AbstractPatroniDaemon method)
api_url (patroni.dcs.Member attribute)
append_pg_hba() (patroni.postgresql.config.ConfigHandler method)
apply_config_changes() (in module patroni.ctl)
apply_yaml_file() (in module patroni.ctl)
as_dict() (patroni.dcs.etcd3.Etcd3ClientError method)
assert_() (in module patroni.validator)
AsyncExecutor (class in patroni.async_executor)
attempt_to_acquire_leader() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
authenticate() (patroni.dcs.etcd3.Etcd3Client method)
(patroni.dcs.etcd3.PatroniEtcd3Client method)
AuthFailed
AuthNotEnabled
available_gucs (patroni.postgresql.Postgresql attribute)
aws_available() (patroni.scripts.aws.AWSConnection method)
AWSConnection (class in patroni.scripts.aws)
B
base64_decode() (in module patroni.dcs.etcd3)
base64_encode() (in module patroni.dcs.etcd3)
basebackup() (patroni.postgresql.bootstrap.Bootstrap method)
BINARIES (patroni.validator.BinDirectory attribute)
BinDirectory (class in patroni.validator)
body (patroni.dcs.consul.Response attribute)
Bool (class in patroni.postgresql.validator)
Bootstrap (class in patroni.postgresql.bootstrap)
bootstrap() (patroni.ha.Ha method)
(patroni.postgresql.bootstrap.Bootstrap method)
(patroni.postgresql.citus.CitusHandler method)
bootstrap_standby_leader() (patroni.ha.Ha method)
build_range_request() (in module patroni.dcs.etcd3)
build_recovery_params() (patroni.postgresql.config.ConfigHandler method)
busy (patroni.async_executor.AsyncExecutor attribute)
C
call() (patroni.postgresql.callback_executor.CallbackExecutor method)
(patroni.postgresql.cancellable.CancellableSubprocess method)
call_api() (patroni.dcs.kubernetes.K8sClient.ApiClient method)
call_failsafe_member() (patroni.ha.Ha method)
call_nowait() (patroni.postgresql.callback_executor.OnReloadExecutor method)
(patroni.postgresql.Postgresql method)
call_post_bootstrap() (patroni.postgresql.bootstrap.Bootstrap method)
call_rpc() (patroni.dcs.etcd3.Etcd3Client method)
(patroni.dcs.etcd3.PatroniEtcd3Client method)
callback (patroni.postgresql.Postgresql attribute)
CallbackAction (class in patroni.postgresql.callback_executor)
CallbackExecutor (class in patroni.postgresql.callback_executor)
can_be_disabled (patroni.watchdog.linux.LinuxWatchdogDevice attribute)
can_create_replica_without_replication_connection() (patroni.postgresql.Postgresql method)
can_rewind (patroni.postgresql.rewind.Rewind attribute)
can_rewind_or_reinitialize_allowed (patroni.postgresql.rewind.Rewind attribute)
cancel() (patroni.async_executor.AsyncExecutor method)
(patroni.async_executor.CriticalTask method)
(patroni.postgresql.cancellable.CancellableSubprocess method)
cancel_initialization() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
(patroni.ha.Ha method)
Canceled (patroni.dcs.etcd3.GRPCCode attribute)
CancellableExecutor (class in patroni.postgresql.cancellable)
CancellableSubprocess (class in patroni.postgresql.cancellable)
candidate (patroni.dcs.Failover attribute)
Case (class in patroni.validator)
CaseInsensitiveDict (class in patroni.collections)
CaseInsensitiveSet (class in patroni.collections)
catch_consul_errors() (in module patroni.dcs.consul)
catch_etcd_errors() (in module patroni.dcs.etcd)
catch_kubernetes_errors() (in module patroni.dcs.kubernetes)
catch_return_false_exception() (in module patroni.dcs)
cb_called (patroni.postgresql.Postgresql attribute)
CHECK (patroni.postgresql.rewind.REWIND_STATUS attribute)
check_access() (in module patroni.api)
(patroni.api.RestApiServer method)
check_auth_header() (patroni.api.RestApiServer method)
check_basic_auth_key() (patroni.api.RestApiServer method)
check_directories() (patroni.postgresql.config.ConfigHandler method)
check_failsafe_topology() (patroni.ha.Ha method)
check_for_startup() (patroni.postgresql.Postgresql method)
check_leader_has_run_checkpoint() (patroni.postgresql.rewind.Rewind static method)
check_leader_is_not_in_recovery() (patroni.postgresql.rewind.Rewind static method)
check_logical_slots_readiness() (patroni.postgresql.slots.SlotsHandler method)
check_mode() (patroni.config.GlobalConfig method)
check_psycopg() (in module patroni)
check_recovery_conf() (patroni.postgresql.config.ConfigHandler method)
check_response() (in module patroni.ctl)
check_startup_state_changed() (patroni.postgresql.Postgresql method)
check_timeline() (patroni.ha.Ha method)
CHECKPOINT (patroni.postgresql.rewind.REWIND_STATUS attribute)
checkpoint() (patroni.postgresql.Postgresql method)
checkpoint_after_promote (patroni.dcs.Leader attribute)
checkpoint_after_promote() (patroni.postgresql.rewind.Rewind method)
CitusHandler (class in patroni.postgresql.citus)
cleanup_archive_status() (patroni.postgresql.rewind.Rewind method)
client_path() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
clone() (patroni.ha.Ha method)
(patroni.postgresql.bootstrap.Bootstrap method)
clonefrom (patroni.dcs.Member attribute)
close() (patroni.postgresql.connection.Connection method)
(patroni.watchdog.linux.LinuxWatchdogDevice method)
Cluster (class in patroni.dcs)
cluster (patroni.dcs.AbstractDCS attribute)
cluster_as_json() (in module patroni.utils)
cluster_info_query (patroni.postgresql.Postgresql attribute)
cluster_prefix (patroni.dcs.etcd3.Etcd3 attribute)
cluster_watcher() (patroni.dcs.zookeeper.ZooKeeper method)
ClusterConfig (class in patroni.dcs)
cmd (patroni.scripts.wale_restore.WALEConfig attribute)
CMDLINE_OPTIONS (patroni.postgresql.config.ConfigHandler attribute)
code (patroni.dcs.consul.Response attribute)
(patroni.dcs.etcd3.DeadlineExceeded attribute)
(patroni.dcs.etcd3.FailedPrecondition attribute)
(patroni.dcs.etcd3.InvalidArgument attribute)
(patroni.dcs.etcd3.InvalidAuthToken attribute)
(patroni.dcs.etcd3.NotFound attribute)
(patroni.dcs.etcd3.PermissionDenied attribute)
(patroni.dcs.etcd3.Unavailable attribute)
(patroni.dcs.etcd3.Unknown attribute)
comma_separated_host_port() (in module patroni.validator)
compare_ports() (patroni.dcs.kubernetes.Kubernetes static method)
compare_slots() (in module patroni.postgresql.slots)
compare_values() (in module patroni.utils)
complete() (patroni.async_executor.CriticalTask method)
Config (class in patroni.config)
config_dir (patroni.postgresql.config.ConfigHandler attribute)
config_file (patroni.config.Config attribute)
config_path (patroni.dcs.AbstractDCS attribute)
config_writer() (patroni.postgresql.config.ConfigHandler method)
ConfigHandler (class in patroni.postgresql.config)
ConfigParseError
configuration_allows_rewind() (patroni.postgresql.rewind.Rewind static method)
configure() (patroni.dcs.etcd3.PatroniEtcd3Client method)
configure_retriable_http_codes() (patroni.dcs.kubernetes.CoreV1ApiProxy method)
configure_server_parameters() (patroni.postgresql.Postgresql method)
configure_timeouts() (patroni.dcs.kubernetes.CoreV1ApiProxy method)
ConfigWriter (class in patroni.postgresql.config)
confirm_members_action() (in module patroni.ctl)
conn_kwargs() (patroni.dcs.Leader method)
(patroni.dcs.Member method)
conn_url (patroni.dcs.Leader attribute)
(patroni.dcs.Member attribute)
connect() (in module patroni.psycopg)
(patroni.dcs.consul.ConsulClient method)
Connection (class in patroni.postgresql.connection)
connection() (patroni.postgresql.Postgresql method)
conninfo_parse() (in module patroni.postgresql.config)
conninfo_uri_parse() (in module patroni.postgresql.config)
Consul (class in patroni.dcs.consul)
ConsulClient (class in patroni.dcs.consul)
ConsulError
ConsulInternalError
content (patroni.dcs.consul.Response attribute)
controldata() (patroni.postgresql.Postgresql method)
convert_to_base_unit() (in module patroni.utils)
copy() (patroni.collections.CaseInsensitiveDict method)
(patroni.config.Config method)
(patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
(patroni.utils.Retry method)
copy_logical_slots() (patroni.postgresql.slots.SlotsHandler method)
CoreV1ApiProxy (class in patroni.dcs.kubernetes)
create_connection() (patroni.dcs.zookeeper.PatroniSequentialThreadingHandler method)
create_lease() (patroni.dcs.etcd3.Etcd3 method)
create_or_update_role() (patroni.postgresql.bootstrap.Bootstrap method)
create_replica() (patroni.postgresql.bootstrap.Bootstrap method)
create_replica_methods (patroni.postgresql.Postgresql attribute)
create_replica_with_s3() (patroni.scripts.wale_restore.WALERestore method)
create_session() (patroni.dcs.consul.Consul method)
CriticalTask (class in patroni.async_executor)
current_state() (patroni.postgresql.sync.SyncHandler method)
cursor (patroni.psycopg.Error attribute)
cursor() (patroni.postgresql.connection.Connection method)
D
daemon_threads (patroni.api.RestApiServer attribute)
data (patroni.dcs.ClusterConfig attribute)
(patroni.dcs.Leader attribute)
data_dir (patroni.postgresql.Postgresql attribute)
data_directory_empty() (in module patroni.validator)
(patroni.postgresql.Postgresql method)
data_directory_is_empty() (in module patroni.utils)
database (patroni.postgresql.Postgresql attribute)
DatabaseError
DataLoss (patroni.dcs.etcd3.GRPCCode attribute)
dcs_modules() (in module patroni.dcs)
DCSError
DeadlineExceeded
(patroni.dcs.etcd3.GRPCCode attribute)
debug_exception() (in module patroni.log)
deep_compare() (in module patroni.utils)
DEFAULT_DEVICE (patroni.watchdog.linux.LinuxWatchdogDevice attribute)
DEFAULT_FORMAT (patroni.log.PatroniLogger attribute)
DEFAULT_LEVEL (patroni.log.PatroniLogger attribute)
DEFAULT_MAX_QUEUE_SIZE (patroni.log.PatroniLogger attribute)
DEFAULT_TRACEBACK_LEVEL (patroni.log.PatroniLogger attribute)
default_validator() (in module patroni.config)
delete() (patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
delete_cluster() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
delete_future_restart() (patroni.ha.Ha method)
delete_leader() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
delete_sync_state() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
deleteprefix() (patroni.dcs.etcd3.Etcd3Client method)
deleterange() (patroni.dcs.etcd3.Etcd3Client method)
demote() (patroni.ha.Ha method)
deregister_service() (patroni.dcs.consul.Consul method)
describe() (patroni.watchdog.linux.LinuxWatchdogDevice method)
diag (patroni.psycopg.Error attribute)
Directory (class in patroni.validator)
disable() (patroni.watchdog.base.Watchdog method)
(patroni.watchdog.Watchdog method)
discard() (patroni.collections.CaseInsensitiveSet method)
DnsCachingResolver (class in patroni.dcs.etcd)
do_DELETE_restart() (patroni.api.RestApiHandler method)
do_DELETE_switchover() (patroni.api.RestApiHandler method)
do_GET() (patroni.api.RestApiHandler method)
do_GET_cluster() (patroni.api.RestApiHandler method)
do_GET_config() (patroni.api.RestApiHandler method)
do_GET_failsafe() (patroni.api.RestApiHandler method)
do_GET_history() (patroni.api.RestApiHandler method)
do_GET_liveness() (patroni.api.RestApiHandler method)
do_GET_metrics() (patroni.api.RestApiHandler method)
do_GET_patroni() (patroni.api.RestApiHandler method)
do_GET_readiness() (patroni.api.RestApiHandler method)
do_HEAD() (patroni.api.RestApiHandler method)
do_OPTIONS() (patroni.api.RestApiHandler method)
do_PATCH_config() (patroni.api.RestApiHandler method)
do_POST_citus() (patroni.api.RestApiHandler method)
do_POST_failover() (patroni.api.RestApiHandler method)
do_POST_failsafe() (patroni.api.RestApiHandler method)
do_POST_reinitialize() (patroni.api.RestApiHandler method)
do_POST_reload() (patroni.api.RestApiHandler method)
do_POST_restart() (patroni.api.RestApiHandler method)
do_POST_sigterm() (patroni.api.RestApiHandler method)
do_POST_switchover() (patroni.api.RestApiHandler method)
do_PUT_config() (patroni.api.RestApiHandler method)
drop_replication_slot() (patroni.postgresql.slots.SlotsHandler method)
dynamic_configuration (patroni.config.Config attribute)
E
effective_configuration (patroni.postgresql.config.ConfigHandler attribute)
emit() (patroni.log.ProxyHandler method)
(patroni.log.QueueHandler method)
empty() (patroni.dcs.Cluster static method)
(patroni.dcs.SyncState static method)
enable_keepalive() (in module patroni.utils)
enabled (patroni.postgresql.rewind.Rewind attribute)
enforce_follow_remote_member() (patroni.ha.Ha method)
enforce_hot_standby_feedback (patroni.postgresql.Postgresql attribute)
enforce_primary_role() (patroni.ha.Ha method)
ensure_checkpoint_after_promote() (patroni.postgresql.rewind.Rewind method)
ensure_clean_shutdown() (patroni.postgresql.rewind.Rewind method)
ensure_deadline() (patroni.utils.Retry method)
ensure_major_version_is_known() (patroni.postgresql.Postgresql method)
Enum (class in patroni.postgresql.validator)
EnumBool (class in patroni.postgresql.validator)
EnumValidator (class in patroni.validator)
env_dir (patroni.scripts.wale_restore.WALEConfig attribute)
Error
error (patroni.dcs.etcd3.AuthFailed attribute)
(patroni.dcs.etcd3.AuthNotEnabled attribute)
(patroni.dcs.etcd3.DeadlineExceeded attribute)
(patroni.dcs.etcd3.InvalidAuthToken attribute)
(patroni.dcs.etcd3.LeaseNotFound attribute)
(patroni.dcs.etcd3.PermissionDenied attribute)
(patroni.dcs.etcd3.UserEmpty attribute)
ERROR_CLS (patroni.dcs.etcd.EtcdClient attribute)
(patroni.dcs.etcd3.Etcd3Client attribute)
error_exception() (in module patroni.log)
escape() (patroni.postgresql.config.ConfigWriter static method)
Etcd (class in patroni.dcs.etcd)
Etcd3 (class in patroni.dcs.etcd3)
Etcd3Client (class in patroni.dcs.etcd3)
Etcd3ClientError
Etcd3Error
Etcd3Exception
EtcdClient (class in patroni.dcs.etcd)
EtcdError
EtcdRaftInternal
evaluate_scheduled_restart() (patroni.ha.Ha method)
execute() (patroni.postgresql.rewind.Rewind method)
executed (patroni.postgresql.rewind.Rewind attribute)
Exhibitor (class in patroni.dcs.exhibitor)
ExhibitorEnsembleProvider (class in patroni.dcs.exhibitor)
ExitCode (class in patroni.scripts.wale_restore)
expected_type (patroni.validator.IntValidator attribute)
F
FAIL (patroni.scripts.wale_restore.ExitCode attribute)
failed (patroni.postgresql.rewind.Rewind attribute)
FAILED (patroni.postgresql.rewind.REWIND_STATUS attribute)
FailedPrecondition
(patroni.dcs.etcd3.GRPCCode attribute)
Failover (class in patroni.dcs)
failover_path (patroni.dcs.AbstractDCS attribute)
Failsafe (class in patroni.ha)
failsafe (patroni.dcs.AbstractDCS attribute)
failsafe_is_active() (patroni.ha.Ha method)
failsafe_path (patroni.dcs.AbstractDCS attribute)
fatal() (in module patroni)
fetch_node_status() (patroni.ha.Ha method)
fetch_nodes_statuses() (patroni.ha.Ha method)
find_dcs_class_in_module() (in module patroni.dcs)
find_task_by_group() (patroni.postgresql.citus.CitusHandler method)
firmware_version (patroni.watchdog.linux.watchdog_info attribute)
fix_subdirectory_path_if_broken() (patroni.scripts.wale_restore.WALERestore method)
follow() (patroni.ha.Ha method)
(patroni.postgresql.Postgresql method)
force_if_last_failed() (in module patroni.dcs.consul)
format_config_for_editing() (in module patroni.ctl)
format_dsn() (patroni.postgresql.config.ConfigHandler method)
format_lsn() (in module patroni.postgresql.misc)
format_pg_version() (in module patroni.ctl)
from_config() (patroni.watchdog.linux.LinuxWatchdogDevice class method)
from_node() (patroni.dcs.ClusterConfig static method)
(patroni.dcs.Failover static method)
(patroni.dcs.Member static method)
(patroni.dcs.SyncState static method)
(patroni.dcs.TimelineHistory static method)
from_pid() (patroni.postgresql.postmaster.PostmasterProcess class method)
from_pidfile() (patroni.postgresql.postmaster.PostmasterProcess static method)
fsync_dir() (in module patroni.postgresql.misc)
future_restart_scheduled() (patroni.ha.Ha method)
G
generate_topology() (in module patroni.ctl)
get() (in module patroni.request)
(patroni.config.Config method)
(patroni.config.GlobalConfig method)
(patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.K8sObject method)
(patroni.dcs.kubernetes.ObjectCache method)
(patroni.postgresql.config.ConfigHandler method)
(patroni.postgresql.connection.Connection method)
get_all_members() (in module patroni.ctl)
get_all_members_leader_first() (in module patroni.ctl)
get_any_member() (in module patroni.ctl)
get_base_arg_parser() (in module patroni.daemon)
get_bin_name() (in module patroni.validator)
get_certificate_serial_number() (patroni.api.RestApiServer method)
get_children() (patroni.dcs.zookeeper.ZooKeeper method)
get_citus_coordinator() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
get_clone_member() (patroni.dcs.Cluster method)
get_cluster() (patroni.dcs.AbstractDCS method)
(patroni.dcs.etcd3.PatroniEtcd3Client method)
get_cluster_service_info() (in module patroni.ctl)
get_connection_cursor() (in module patroni.postgresql.connection)
get_cursor() (in module patroni.ctl)
get_dcs() (in module patroni.ctl)
(in module patroni.dcs)
get_effective_tags() (patroni.ha.Ha method)
get_etcd_client() (patroni.dcs.etcd.AbstractEtcd method)
get_failover_candidates() (patroni.ha.Ha method)
get_global_config() (in module patroni.config)
(patroni.config.Config method)
get_guc_value() (patroni.postgresql.Postgresql method)
get_history() (patroni.postgresql.Postgresql method)
get_int() (patroni.config.GlobalConfig method)
get_local_connection_cursor() (patroni.postgresql.slots.SlotsHandler method)
get_major_version() (in module patroni.scripts.wale_restore)
(in module patroni.validator)
(patroni.postgresql.Postgresql method)
get_member() (patroni.dcs.Cluster method)
get_members() (in module patroni.ctl)
get_my_slot_name_on_primary() (patroni.dcs.Cluster method)
get_node() (patroni.dcs.zookeeper.ZooKeeper method)
get_postgres_role_from_data_directory() (patroni.postgresql.Postgresql method)
get_postgresql_status() (patroni.api.RestApiHandler method)
get_primary_timeline() (patroni.postgresql.Postgresql method)
get_remote_member() (patroni.ha.Ha method)
get_replica_timeline() (patroni.postgresql.Postgresql method)
get_replication_connection_cursor() (patroni.postgresql.Postgresql method)
get_replication_slots() (patroni.dcs.Cluster method)
get_server_parameters() (patroni.postgresql.config.ConfigHandler method)
get_srv_record() (patroni.dcs.etcd.AbstractEtcdClientWithFailover static method)
get_standby_cluster_config() (patroni.config.GlobalConfig method)
get_status() (patroni.dcs.zookeeper.ZooKeeper method)
get_subclasses() (patroni.dcs.etcd3.Etcd3ClientError class method)
get_support() (patroni.watchdog.linux.LinuxWatchdogDevice method)
(patroni.watchdog.linux.TestingWatchdogDevice method)
get_timeout() (patroni.watchdog.linux.LinuxWatchdogDevice method)
(patroni.watchdog.linux.TestingWatchdogDevice method)
global_config (patroni.postgresql.Postgresql attribute)
GlobalConfig (class in patroni.config)
group() (patroni.postgresql.citus.CitusHandler method)
GRPCCode (class in patroni.dcs.etcd3)
H
Ha (class in patroni.ha)
handle_auth_errors() (patroni.dcs.etcd3.Etcd3Client method)
handle_error() (patroni.api.RestApiServer method)
handle_etcd_exceptions() (patroni.dcs.etcd.AbstractEtcd method)
handle_event() (patroni.postgresql.citus.CitusHandler method)
handle_long_action_in_progress() (patroni.ha.Ha method)
handle_one_request() (patroni.api.RestApiHandler method)
handle_parameter_change() (patroni.postgresql.Postgresql method)
handle_starting_instance() (patroni.ha.Ha method)
has_lock() (patroni.ha.Ha method)
has_member() (patroni.dcs.Cluster method)
has_permanent_logical_slots() (patroni.dcs.Cluster method)
has_set_timeout() (patroni.watchdog.linux.LinuxWatchdogDevice method)
hba_file (patroni.postgresql.config.ConfigHandler attribute)
headers (patroni.dcs.consul.Response attribute)
(patroni.dcs.kubernetes.K8sConfig attribute)
history_path (patroni.dcs.AbstractDCS attribute)
http_connect() (patroni.dcs.consul.ConsulClient method)
HTTPClient (class in patroni.dcs.consul)
HTTPSConnectionPool (class in patroni.request)
I
ident_file (patroni.postgresql.config.ConfigHandler attribute)
identity (patroni.watchdog.linux.watchdog_info attribute)
(patroni.watchdog.linux.WatchdogInfo attribute)
ignore_replication_slot() (patroni.postgresql.citus.CitusHandler method)
(patroni.postgresql.slots.SlotsHandler method)
ignore_slots_matchers (patroni.dcs.ClusterConfig attribute)
initdb() (patroni.postgresql.Postgresql method)
INITIAL (patroni.postgresql.rewind.REWIND_STATUS attribute)
initialize() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
initialize_path (patroni.dcs.AbstractDCS attribute)
Integer (class in patroni.postgresql.validator)
Internal (patroni.dcs.etcd3.GRPCCode attribute)
IntValidator (class in patroni.validator)
InvalidArgument
(patroni.dcs.etcd3.GRPCCode attribute)
InvalidAuthToken
InvalidGucValidatorsFile
InvalidSession
InvalidSessionTTL
invoke_editor() (in module patroni.ctl)
IOC() (in module patroni.watchdog.linux)
IOR() (in module patroni.watchdog.linux)
IOW() (in module patroni.watchdog.linux)
IOWR() (in module patroni.watchdog.linux)
is_active() (patroni.ha.Failsafe method)
is_cancelled (patroni.postgresql.cancellable.CancellableSubprocess attribute)
is_citus_coordinator() (patroni.dcs.AbstractDCS method)
is_coordinator() (patroni.postgresql.citus.CitusHandler method)
is_empty (patroni.dcs.SyncState attribute)
is_empty() (patroni.dcs.Cluster method)
is_enabled() (patroni.postgresql.citus.CitusHandler method)
is_failover_possible() (patroni.api.RestApiHandler method)
(patroni.ha.Ha method)
is_failsafe_mode() (patroni.ha.Ha method)
is_healthiest_node() (patroni.ha.Ha method)
is_healthy (patroni.watchdog.base.Watchdog attribute)
(patroni.watchdog.Watchdog attribute)
(patroni.watchdog.linux.LinuxWatchdogDevice attribute)
is_healthy() (patroni.postgresql.Postgresql method)
is_ipv4_address() (in module patroni.validator)
is_ipv6_address() (in module patroni.validator)
is_lagging() (patroni.ha.Ha method)
is_leader() (patroni.ha.Ha method)
(patroni.postgresql.Postgresql method)
is_needed (patroni.postgresql.rewind.Rewind attribute)
is_paused (patroni.config.GlobalConfig attribute)
is_paused() (patroni.ha.Ha method)
is_ready() (patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
is_running (patroni.dcs.Member attribute)
(patroni.watchdog.Watchdog attribute)
(patroni.watchdog.base.Watchdog attribute)
(patroni.watchdog.linux.LinuxWatchdogDevice attribute)
is_running() (patroni.postgresql.Postgresql method)
is_standby_cluster (patroni.config.GlobalConfig attribute)
is_standby_cluster() (patroni.ha.Ha method)
is_starting() (patroni.postgresql.Postgresql method)
is_subpath() (in module patroni.utils)
is_sync_standby() (patroni.ha.Ha method)
is_synchronous_mode (patroni.config.GlobalConfig attribute)
is_synchronous_mode() (patroni.ha.Ha method)
is_synchronous_mode_strict (patroni.config.GlobalConfig attribute)
is_unlocked() (patroni.dcs.Cluster method)
is_worker() (patroni.postgresql.citus.CitusHandler method)
issubset() (patroni.collections.CaseInsensitiveSet method)
iter() (patroni.validator.Schema method)
iter_dcs_classes() (in module patroni.dcs)
iter_dict() (patroni.validator.Schema method)
iter_or() (patroni.validator.Schema method)
iter_response_objects() (in module patroni.utils)
K
k8s_client (in module patroni.dcs.kubernetes)
K8sClient (class in patroni.dcs.kubernetes)
K8sClient.ApiClient (class in patroni.dcs.kubernetes)
K8sClient.CoreV1Api (class in patroni.dcs.kubernetes)
K8sClient.rest (class in patroni.dcs.kubernetes)
K8sClient.rest.ApiException
K8sConfig (class in patroni.dcs.kubernetes)
K8sConfig.ConfigException
K8sConnectionFailed
K8sException
K8sObject (class in patroni.dcs.kubernetes)
keep_existing_recovery_conf (patroni.postgresql.bootstrap.Bootstrap attribute)
keepalive() (patroni.watchdog.base.Watchdog method)
(patroni.watchdog.Watchdog method)
(patroni.watchdog.linux.LinuxWatchdogDevice method)
keepalive_intvl() (in module patroni.utils)
keepalive_socket_options() (in module patroni.utils)
kill_stream() (patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
Kubernetes (class in patroni.dcs.kubernetes)
KubernetesError
KubernetesRetriableException
KVCache (class in patroni.dcs.etcd3)
L
last_operation() (patroni.postgresql.Postgresql method)
last_seen (patroni.dcs.AbstractDCS attribute)
latest_checkpoint_location() (patroni.postgresql.Postgresql method)
Leader (class in patroni.dcs)
leader (patroni.dcs.Failover attribute)
(patroni.dcs.SyncState attribute)
(patroni.ha.Failsafe attribute)
leader_matches() (patroni.dcs.SyncState method)
leader_name (patroni.dcs.Cluster attribute)
leader_optime_path (patroni.dcs.AbstractDCS attribute)
leader_path (patroni.dcs.AbstractDCS attribute)
(patroni.dcs.kubernetes.Kubernetes attribute)
lease_grant() (patroni.dcs.etcd3.Etcd3Client method)
lease_keepalive() (patroni.dcs.etcd3.Etcd3Client method)
LeaseNotFound
lines (patroni.dcs.TimelineHistory attribute)
LinuxWatchdogDevice (class in patroni.watchdog.linux)
load_cluster_from_dcs() (patroni.ha.Ha method)
load_config() (in module patroni.ctl)
load_current_server_parameters() (patroni.postgresql.config.ConfigHandler method)
load_incluster_config() (patroni.dcs.kubernetes.K8sConfig method)
load_kube_config() (patroni.dcs.kubernetes.K8sConfig method)
load_members() (patroni.dcs.zookeeper.ZooKeeper method)
load_pg_dist_node() (patroni.postgresql.citus.CitusHandler method)
load_replication_slots() (patroni.postgresql.slots.SlotsHandler method)
local_connect_kwargs (patroni.postgresql.config.ConfigHandler attribute)
log_message() (patroni.api.RestApiHandler method)
LOGGING_BROKEN_EXIT_CODE (patroni.log.PatroniLogger attribute)
loop_wait (patroni.dcs.AbstractDCS attribute)
lsn_name (patroni.postgresql.Postgresql attribute)
M
machines (patroni.dcs.etcd.AbstractEtcdClientWithFailover attribute)
machines_cache (patroni.dcs.etcd.AbstractEtcdClientWithFailover attribute)
main() (in module patroni.scripts.aws)
(in module patroni.scripts.wale_restore)
major_version (patroni.postgresql.Postgresql attribute)
manual_failover() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
manual_failover_process_no_leader() (patroni.ha.Ha method)
matches() (patroni.dcs.SyncState method)
max_timelines_history (patroni.dcs.ClusterConfig attribute)
max_val (patroni.postgresql.validator.Number attribute)
maximum_lag_on_failover (patroni.config.GlobalConfig attribute)
maximum_lag_on_syncnode (patroni.config.GlobalConfig attribute)
Member (class in patroni.dcs)
member (patroni.dcs.Leader attribute)
member() (patroni.dcs.consul.Consul static method)
(patroni.dcs.etcd.Etcd static method)
(patroni.dcs.etcd3.Etcd3 static method)
(patroni.dcs.kubernetes.Kubernetes static method)
(patroni.dcs.zookeeper.ZooKeeper static method)
member_path (patroni.dcs.AbstractDCS attribute)
members (patroni.dcs.SyncState attribute)
members_path (patroni.dcs.AbstractDCS attribute)
min_synchronous_nodes (patroni.config.GlobalConfig attribute)
min_val (patroni.postgresql.validator.Number attribute)
min_version (patroni.dcs.Cluster attribute)
modify_version (patroni.dcs.ClusterConfig attribute)
move_data_directory() (patroni.postgresql.Postgresql method)
mtime() (in module patroni.postgresql.config)
N
name (patroni.dcs.Leader attribute)
NEED (patroni.postgresql.rewind.REWIND_STATUS attribute)
nofailover (patroni.dcs.Member attribute)
NOOP (patroni.postgresql.callback_executor.CallbackAction attribute)
NORMAL_LOG_QUEUE_SIZE (patroni.log.PatroniLogger attribute)
NOT_NEED (patroni.postgresql.rewind.REWIND_STATUS attribute)
NotFound
(patroni.dcs.etcd3.GRPCCode attribute)
notify_citus_coordinator() (patroni.ha.Ha method)
null_context() (in module patroni.postgresql)
Number (class in patroni.postgresql.validator)
O
ObjectCache (class in patroni.dcs.kubernetes)
OK (patroni.dcs.etcd3.GRPCCode attribute)
on_demote() (patroni.postgresql.citus.CitusHandler method)
on_promote() (patroni.postgresql.slots.SlotsAdvanceThread method)
(patroni.postgresql.slots.SlotsHandler method)
ON_RELOAD (patroni.postgresql.callback_executor.CallbackAction attribute)
ON_RESTART (patroni.postgresql.callback_executor.CallbackAction attribute)
ON_ROLE_CHANGE (patroni.postgresql.callback_executor.CallbackAction attribute)
on_role_change() (patroni.scripts.aws.AWSConnection method)
ON_START (patroni.postgresql.callback_executor.CallbackAction attribute)
ON_STOP (patroni.postgresql.callback_executor.CallbackAction attribute)
OnReloadExecutor (class in patroni.postgresql.callback_executor)
open() (patroni.watchdog.linux.LinuxWatchdogDevice method)
OperationalError
Optional (class in patroni.validator)
options (patroni.watchdog.linux.watchdog_info attribute)
(patroni.watchdog.linux.WatchdogInfo attribute)
Or (class in patroni.validator)
OutOfRange (patroni.dcs.etcd3.GRPCCode attribute)
output_members() (in module patroni.ctl)
P
parse() (patroni.postgresql.validator.Integer static method)
(patroni.postgresql.validator.Number static method)
(patroni.postgresql.validator.Real static method)
parse_bool() (in module patroni.utils)
parse_connection_string() (in module patroni.dcs)
parse_dcs() (in module patroni.ctl)
parse_dsn() (in module patroni.postgresql.config)
parse_history() (in module patroni.postgresql.misc)
parse_int() (in module patroni.utils)
parse_lsn() (in module patroni.postgresql.misc)
parse_real() (in module patroni.utils)
parse_request() (patroni.api.RestApiHandler method)
parse_schedule() (patroni.api.RestApiHandler static method)
parse_scheduled() (in module patroni.ctl)
parse_sync_standby_names() (in module patroni.postgresql.sync)
parse_version() (in module patroni)
parse_wal_record() (patroni.postgresql.Postgresql method)
patch_config() (in module patroni.utils)
patch_or_create() (patroni.dcs.kubernetes.Kubernetes method)
patch_or_create_config() (patroni.dcs.kubernetes.Kubernetes method)
patroni (module)
patroni.api (module)
patroni.async_executor (module)
patroni.collections (module)
patroni.config (module)
patroni.ctl (module)
patroni.daemon (module)
patroni.dcs (module)
patroni.dcs.consul (module)
patroni.dcs.etcd (module)
patroni.dcs.etcd3 (module)
patroni.dcs.exhibitor (module)
patroni.dcs.kubernetes (module)
patroni.dcs.zookeeper (module)
patroni.exceptions (module)
patroni.file_perm (module)
patroni.ha (module)
patroni.log (module)
patroni.postgresql (module)
patroni.postgresql.bootstrap (module)
patroni.postgresql.callback_executor (module)
patroni.postgresql.cancellable (module)
patroni.postgresql.citus (module)
patroni.postgresql.config (module)
patroni.postgresql.connection (module)
patroni.postgresql.misc (module)
patroni.postgresql.postmaster (module)
patroni.postgresql.rewind (module)
patroni.postgresql.slots (module)
patroni.postgresql.sync (module)
patroni.postgresql.validator (module)
patroni.psycopg (module)
patroni.request (module)
patroni.scripts (module)
patroni.scripts.aws (module)
patroni.scripts.wale_restore (module)
patroni.utils (module)
patroni.validator (module)
patroni.version (module)
patroni.watchdog (module)
patroni.watchdog.base (module)
patroni.watchdog.linux (module)
PATRONI_CONFIG_VARIABLE (patroni.config.Config attribute)
patroni_version (patroni.dcs.Member attribute)
PatroniCtlException
PatronictlPrettyTable (class in patroni.ctl)
PatroniEtcd3Client (class in patroni.dcs.etcd3)
PatroniException
PatroniFatalException
PatroniKazooClient (class in patroni.dcs.zookeeper)
PatroniLogger (class in patroni.log)
PatroniPoolManager (class in patroni.request)
PatroniRequest (class in patroni.request)
PatroniSequentialThreadingHandler (class in patroni.dcs.zookeeper)
pending_restart (patroni.postgresql.Postgresql attribute)
permanent_slots (patroni.dcs.ClusterConfig attribute)
PermissionDenied
(patroni.dcs.etcd3.GRPCCode attribute)
pg_control_exists() (patroni.postgresql.Postgresql method)
pg_control_timeline() (patroni.postgresql.Postgresql method)
pg_ctl() (patroni.postgresql.Postgresql method)
pg_ctl_kill() (patroni.postgresql.postmaster.PostmasterProcess method)
pg_ctl_start() (in module patroni.postgresql.postmaster)
pg_hba_conf (patroni.postgresql.config.ConfigHandler attribute)
pg_isready() (patroni.postgresql.Postgresql method)
pg_rewind() (patroni.postgresql.rewind.Rewind method)
pg_stat_replication() (patroni.postgresql.Postgresql method)
pg_tblspc_realpaths() (patroni.postgresql.Postgresql method)
pg_wal_realpath() (patroni.postgresql.Postgresql method)
pgcode (patroni.psycopg.Error attribute)
pgcommand() (patroni.postgresql.Postgresql method)
PgDistNode (class in patroni.postgresql.citus)
pgerror (patroni.psycopg.Error attribute)
pick_task() (patroni.postgresql.citus.CitusHandler method)
poll() (patroni.dcs.exhibitor.ExhibitorEnsembleProvider method)
poll_failover_result() (patroni.api.RestApiHandler method)
polling_loop() (in module patroni.utils)
possible_values (patroni.postgresql.validator.Enum attribute)
post_bootstrap() (patroni.ha.Ha method)
(patroni.postgresql.bootstrap.Bootstrap method)
post_recover() (patroni.ha.Ha method)
postgres_major_version_to_int() (in module patroni.postgresql.misc)
postgres_version_to_int() (in module patroni.postgresql.misc)
PostgresConnectionException
PostgresException
Postgresql (class in patroni.postgresql)
postgresql_conf (patroni.postgresql.config.ConfigHandler attribute)
POSTMASTER_START_TIME (patroni.postgresql.Postgresql attribute)
postmaster_start_time() (patroni.postgresql.Postgresql method)
PostmasterProcess (class in patroni.postgresql.postmaster)
prefix() (patroni.dcs.etcd3.Etcd3Client method)
prefix_range_end() (in module patroni.dcs.etcd3)
primary_conninfo() (patroni.postgresql.Postgresql method)
primary_conninfo_params() (patroni.postgresql.config.ConfigHandler method)
primary_slot_name() (patroni.postgresql.Postgresql method)
primary_start_timeout (patroni.config.GlobalConfig attribute)
primary_stop_timeout (patroni.config.GlobalConfig attribute)
primary_stop_timeout() (patroni.ha.Ha method)
print_output() (in module patroni.ctl)
process_healthy_cluster() (patroni.ha.Ha method)
process_manual_failover_from_leader() (patroni.ha.Ha method)
process_permanent_slots() (patroni.postgresql.slots.SlotsHandler method)
process_request_thread() (patroni.api.RestApiServer method)
process_sync_replication() (patroni.ha.Ha method)
process_task() (patroni.postgresql.citus.CitusHandler method)
process_tasks() (patroni.postgresql.citus.CitusHandler method)
process_unhealthy_cluster() (patroni.ha.Ha method)
process_user_options() (patroni.postgresql.bootstrap.Bootstrap static method)
ProgrammingError
promote() (patroni.postgresql.Postgresql method)
ProxyHandler (class in patroni.log)
put() (patroni.dcs.etcd3.Etcd3Client method)
Q
query() (patroni.api.RestApiHandler method)
(patroni.api.RestApiServer method)
(patroni.postgresql.Postgresql method)
(patroni.postgresql.citus.CitusHandler method)
query_member() (in module patroni.ctl)
queue_size (patroni.log.PatroniLogger attribute)
QueueHandler (class in patroni.log)
quote_ident() (in module patroni.postgresql.sync)
(in module patroni.psycopg)
quote_literal() (in module patroni.psycopg)
R
range() (patroni.dcs.etcd3.Etcd3Client method)
read_param_value() (in module patroni.postgresql.config)
read_postmaster_opts() (patroni.postgresql.rewind.Rewind method)
read_recovery_param_value() (in module patroni.postgresql.config)
Real (class in patroni.postgresql.validator)
received_location() (patroni.postgresql.Postgresql method)
received_sigterm (patroni.daemon.AbstractPatroniDaemon attribute)
received_timeline() (patroni.postgresql.Postgresql method)
records_lost (patroni.log.PatroniLogger attribute)
(patroni.log.QueueHandler attribute)
recover() (patroni.ha.Ha method)
recovery_conf_exists() (patroni.postgresql.config.ConfigHandler method)
refresh_api_servers_cache() (patroni.dcs.kubernetes.CoreV1ApiProxy method)
(patroni.dcs.kubernetes.K8sClient.ApiClient method)
refresh_lease() (patroni.dcs.etcd3.Etcd3 method)
refresh_session() (patroni.dcs.consul.Consul method)
register_service() (patroni.dcs.consul.Consul method)
reinitialize() (patroni.ha.Ha method)
release_leader_key_voluntarily() (patroni.ha.Ha method)
reload() (patroni.postgresql.Postgresql method)
reload_config() (patroni.api.RestApiServer method)
(patroni.daemon.AbstractPatroniDaemon method)
(patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.consul.ConsulClient method)
(patroni.dcs.etcd.AbstractEtcd method)
(patroni.dcs.etcd.AbstractEtcdClientWithFailover method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
(patroni.log.PatroniLogger method)
(patroni.postgresql.Postgresql method)
(patroni.postgresql.config.ConfigHandler method)
(patroni.request.PatroniRequest method)
(patroni.watchdog.Watchdog method)
(patroni.watchdog.base.Watchdog method)
reload_local_certificate() (patroni.api.RestApiServer method)
reload_local_configuration() (patroni.config.Config method)
RemoteMember (class in patroni.dcs)
remove() (patroni.dcs.etcd.DnsCachingResolver method)
remove_data_directory() (patroni.postgresql.Postgresql method)
remove_recovery_conf() (patroni.postgresql.config.ConfigHandler method)
replace_pg_hba() (patroni.postgresql.config.ConfigHandler method)
replace_pg_ident() (patroni.postgresql.config.ConfigHandler method)
replay_paused() (patroni.postgresql.Postgresql method)
replayed_location() (patroni.postgresql.Postgresql method)
replica_cached_timeline() (patroni.postgresql.Postgresql method)
replica_method_can_work_without_replication_connection() (patroni.postgresql.Postgresql method)
replica_method_options() (patroni.postgresql.Postgresql method)
replicatefrom (patroni.dcs.Member attribute)
replication (patroni.postgresql.config.ConfigHandler attribute)
replication_state() (patroni.postgresql.Postgresql method)
replication_state_from_parameters() (patroni.postgresql.Postgresql method)
repr_size() (in module patroni.scripts.wale_restore)
request() (patroni.dcs.kubernetes.K8sClient.ApiClient method)
(patroni.request.PatroniRequest method)
request_patroni() (in module patroni.ctl)
reset() (patroni.async_executor.CriticalTask method)
(patroni.utils.Retry method)
reset_cluster() (patroni.dcs.AbstractDCS method)
reset_cluster_info_state() (patroni.postgresql.Postgresql method)
reset_is_cancelled() (patroni.postgresql.cancellable.CancellableSubprocess method)
reset_scheduled_action() (patroni.async_executor.AsyncExecutor method)
reset_state() (patroni.postgresql.rewind.Rewind method)
resolve() (patroni.dcs.etcd.DnsCachingResolver method)
resolve_async() (patroni.dcs.etcd.DnsCachingResolver method)
resolve_connection_addresses() (patroni.postgresql.config.ConfigHandler method)
ResourceExhausted (patroni.dcs.etcd3.GRPCCode attribute)
Response (class in patroni.dcs.consul)
response() (patroni.dcs.consul.HTTPClient static method)
RestApiHandler (class in patroni.api)
RestApiServer (class in patroni.api)
restart() (patroni.ha.Ha method)
(patroni.postgresql.Postgresql method)
restart_matches() (patroni.ha.Ha method)
restart_scheduled() (patroni.ha.Ha method)
restore_command() (patroni.postgresql.config.ConfigHandler method)
restore_configuration_files() (patroni.postgresql.config.ConfigHandler method)
Result (class in patroni.validator)
resume_wal_replay() (patroni.postgresql.Postgresql method)
Retry (class in patroni.utils)
retry() (patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.AbstractEtcd method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.scripts.aws.AWSConnection method)
RETRY_LATER (patroni.scripts.wale_restore.ExitCode attribute)
RetryFailedError
ReturnFalseException
Rewind (class in patroni.postgresql.rewind)
rewind_credentials (patroni.postgresql.config.ConfigHandler attribute)
rewind_or_reinitialize_needed_and_possible() (patroni.postgresql.rewind.Rewind method)
REWIND_STATUS (class in patroni.postgresql.rewind)
role (patroni.postgresql.Postgresql attribute)
run() (patroni.async_executor.AsyncExecutor method)
(patroni.daemon.AbstractPatroniDaemon method)
(patroni.dcs.etcd.DnsCachingResolver method)
(patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
(patroni.log.PatroniLogger method)
(patroni.postgresql.callback_executor.CallbackExecutor method)
(patroni.postgresql.citus.CitusHandler method)
(patroni.postgresql.slots.SlotsAdvanceThread method)
(patroni.scripts.wale_restore.WALERestore method)
run_async() (patroni.async_executor.AsyncExecutor method)
run_cycle() (patroni.ha.Ha method)
running_custom_bootstrap (patroni.postgresql.bootstrap.Bootstrap attribute)
S
save_cache() (patroni.config.Config method)
save_configuration_files() (patroni.postgresql.config.ConfigHandler method)
schedule() (patroni.async_executor.AsyncExecutor method)
(patroni.postgresql.slots.SlotsAdvanceThread method)
(patroni.postgresql.slots.SlotsHandler method)
schedule_advance_slots() (patroni.postgresql.slots.SlotsHandler method)
schedule_cache_rebuild() (patroni.postgresql.citus.CitusHandler method)
schedule_future_restart() (patroni.ha.Ha method)
schedule_sanity_checks_after_pause() (patroni.postgresql.Postgresql method)
scheduled_action (patroni.async_executor.AsyncExecutor attribute)
scheduled_at (patroni.dcs.Failover attribute)
Schema (class in patroni.validator)
select() (patroni.dcs.zookeeper.PatroniSequentialThreadingHandler method)
server (patroni.dcs.kubernetes.K8sConfig attribute)
server_version (patroni.postgresql.Postgresql attribute)
service_name_from_scope_name() (in module patroni.dcs.consul)
session (patroni.dcs.Leader attribute)
session_listener() (patroni.dcs.zookeeper.ZooKeeper method)
set() (patroni.dcs.etcd3.KVCache method)
(patroni.dcs.kubernetes.ObjectCache method)
set_api_servers_cache_ttl() (patroni.dcs.kubernetes.K8sClient.ApiClient method)
set_base_uri() (patroni.dcs.etcd.AbstractEtcdClientWithFailover method)
(patroni.dcs.etcd3.PatroniEtcd3Client method)
(patroni.dcs.kubernetes.K8sClient.ApiClient method)
set_config_value() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
set_conn_kwargs() (patroni.postgresql.citus.CitusHandler method)
(patroni.postgresql.connection.Connection method)
set_connect_timeout() (patroni.dcs.zookeeper.PatroniSequentialThreadingHandler method)
set_connection_kwargs() (patroni.postgresql.Postgresql method)
set_dynamic_configuration() (patroni.config.Config method)
set_enforce_hot_standby_feedback() (patroni.postgresql.Postgresql method)
set_failover_value() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
set_file_permissions() (patroni.postgresql.config.ConfigHandler method)
set_history_value() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
set_is_active() (patroni.ha.Failsafe method)
set_is_leader() (patroni.ha.Ha method)
set_machines_cache_ttl() (patroni.dcs.etcd.AbstractEtcdClientWithFailover method)
set_pending_restart() (patroni.postgresql.Postgresql method)
set_read_timeout() (patroni.dcs.consul.HTTPClient method)
(patroni.dcs.etcd.AbstractEtcdClientWithFailover method)
(patroni.dcs.kubernetes.K8sClient.ApiClient method)
set_retry_timeout() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.AbstractEtcd method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
set_role() (patroni.postgresql.Postgresql method)
set_socket_options() (patroni.dcs.etcd.AbstractEtcd method)
(patroni.dcs.etcd3.Etcd3 method)
set_start_timeout() (patroni.ha.Ha method)
set_state() (patroni.postgresql.Postgresql method)
set_sync_state_value() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
set_synchronous_standby_names() (patroni.postgresql.config.ConfigHandler method)
(patroni.postgresql.sync.SyncHandler method)
set_timeout() (patroni.watchdog.linux.LinuxWatchdogDevice method)
(patroni.watchdog.linux.TestingWatchdogDevice method)
set_ttl() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.consul.HTTPClient method)
(patroni.dcs.etcd.AbstractEtcd method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
setup_server_parameters() (patroni.postgresql.config.ConfigHandler method)
setup_signal_handlers() (patroni.daemon.AbstractPatroniDaemon method)
should_enforce_hot_standby_feedback() (patroni.dcs.Cluster method)
should_remove_data_directory_on_diverged_timelines (patroni.postgresql.rewind.Rewind attribute)
should_run_scheduled_action() (patroni.ha.Ha method)
should_use_s3_to_create_replica() (patroni.scripts.wale_restore.WALERestore method)
show_diff() (in module patroni.ctl)
shutdown() (patroni.daemon.AbstractPatroniDaemon method)
(patroni.ha.Ha method)
(patroni.log.PatroniLogger method)
shutdown_request() (patroni.api.RestApiServer method)
sighup_handler() (patroni.daemon.AbstractPatroniDaemon method)
signal_kill() (patroni.postgresql.postmaster.PostmasterProcess method)
signal_stop() (patroni.postgresql.postmaster.PostmasterProcess method)
sigterm_handler() (patroni.daemon.AbstractPatroniDaemon method)
single_user_mode() (patroni.postgresql.rewind.Rewind method)
size_as_bytes() (in module patroni.scripts.wale_restore)
sleeptime (patroni.dcs.kubernetes.KubernetesRetriableException attribute)
(patroni.utils.Retry attribute)
slot_name_from_member_name() (in module patroni.dcs)
slots() (patroni.postgresql.Postgresql method)
SlotsAdvanceThread (class in patroni.postgresql.slots)
SlotsHandler (class in patroni.postgresql.slots)
split_host_port() (in module patroni.utils)
start() (patroni.postgresql.Postgresql method)
(patroni.postgresql.postmaster.PostmasterProcess static method)
start_watcher() (patroni.dcs.etcd3.PatroniEtcd3Client method)
state (patroni.dcs.Member attribute)
(patroni.postgresql.Postgresql attribute)
status_path (patroni.dcs.AbstractDCS attribute)
status_watcher() (patroni.dcs.zookeeper.ZooKeeper method)
stop() (patroni.postgresql.Postgresql method)
stoptime (patroni.utils.Retry attribute)
String (class in patroni.postgresql.validator)
strip_comment() (in module patroni.postgresql.config)
strtod() (in module patroni.utils)
strtol() (in module patroni.utils)
subsets_changed() (patroni.dcs.kubernetes.Kubernetes static method)
SUCCESS (patroni.postgresql.rewind.REWIND_STATUS attribute)
(patroni.scripts.wale_restore.ExitCode attribute)
superuser (patroni.postgresql.config.ConfigHandler attribute)
supports_multiple_sync (patroni.postgresql.Postgresql attribute)
sync_path (patroni.dcs.AbstractDCS attribute)
sync_pg_dist_node() (patroni.postgresql.citus.CitusHandler method)
sync_replication_slots() (patroni.postgresql.slots.SlotsHandler method)
sync_slot() (patroni.postgresql.slots.SlotsAdvanceThread method)
sync_slots() (patroni.postgresql.slots.SlotsAdvanceThread method)
sync_slots_in_database() (patroni.postgresql.slots.SlotsAdvanceThread method)
sync_standby (patroni.dcs.SyncState attribute)
sync_state() (patroni.dcs.AbstractDCS static method)
SyncHandler (class in patroni.postgresql.sync)
synchronous_commit() (patroni.postgresql.Postgresql method)
synchronous_node_count (patroni.config.GlobalConfig attribute)
synchronous_standby_names() (patroni.postgresql.Postgresql method)
SyncState (class in patroni.dcs)
sysid (patroni.postgresql.Postgresql attribute)
sysid_valid() (patroni.ha.Ha static method)
T
tags (patroni.dcs.Member attribute)
take_leader() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
temporary_file() (in module patroni.ctl)
terminate_postmaster() (patroni.postgresql.Postgresql method)
terminate_starting_postmaster() (patroni.postgresql.Postgresql method)
TestingWatchdogDevice (class in patroni.watchdog.linux)
threshold_mb (patroni.scripts.wale_restore.WALEConfig attribute)
threshold_pct (patroni.scripts.wale_restore.WALEConfig attribute)
time_in_state() (patroni.postgresql.Postgresql method)
timeline (patroni.dcs.Cluster attribute)
(patroni.dcs.Leader attribute)
timeline_wal_position() (patroni.postgresql.Postgresql method)
TimelineHistory (class in patroni.dcs)
TIMEOUT (patroni.dcs.exhibitor.ExhibitorEnsembleProvider attribute)
timeout (patroni.watchdog.linux.TestingWatchdogDevice attribute)
timestamp() (in module patroni.ctl)
TL_LSN (patroni.postgresql.Postgresql attribute)
to_bytes() (in module patroni.dcs.etcd3)
to_camel_case() (in module patroni.dcs.kubernetes)
to_dict() (patroni.dcs.kubernetes.K8sObject method)
toggle_pause() (in module patroni.ctl)
topology_sort() (in module patroni.ctl)
touch_member() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
(patroni.ha.Ha method)
transform() (patroni.postgresql.validator.Bool method)
(patroni.postgresql.validator.Enum method)
(patroni.postgresql.validator.EnumBool method)
(patroni.postgresql.validator.Number method)
(patroni.postgresql.validator.String method)
transform_postgresql_parameter_value() (in module patroni.postgresql.validator)
transform_recovery_parameter_value() (in module patroni.postgresql.validator)
trigger_check_diverged_lsn() (patroni.postgresql.rewind.Rewind method)
triggerfile_good_name (patroni.postgresql.config.ConfigHandler attribute)
try_run_async() (patroni.async_executor.AsyncExecutor method)
try_to_create_dir() (patroni.postgresql.config.ConfigHandler method)
ttl (patroni.dcs.AbstractDCS attribute)
(patroni.dcs.consul.Consul attribute)
(patroni.dcs.consul.HTTPClient attribute)
(patroni.dcs.etcd.AbstractEtcd attribute)
(patroni.dcs.kubernetes.Kubernetes attribute)
(patroni.dcs.zookeeper.ZooKeeper attribute)
txn() (patroni.dcs.etcd3.Etcd3Client method)
(patroni.dcs.etcd3.PatroniEtcd3Client method)
TYPES (patroni.postgresql.validator.ValidatorFactory attribute)
U
Unauthenticated (patroni.dcs.etcd3.GRPCCode attribute)
Unavailable
(patroni.dcs.etcd3.GRPCCode attribute)
Unimplemented (patroni.dcs.etcd3.GRPCCode attribute)
unit (patroni.postgresql.validator.Number attribute)
Unknown
(patroni.dcs.etcd3.GRPCCode attribute)
unquote() (in module patroni.utils)
UnsupportedEtcdVersion
update() (patroni.ha.Failsafe method)
update_cluster() (patroni.ha.Failsafe method)
update_cluster_history() (patroni.ha.Ha method)
update_delay() (patroni.utils.Retry method)
update_failsafe() (patroni.ha.Ha method)
update_leader() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
update_lock() (patroni.ha.Ha method)
update_loggers() (patroni.log.PatroniLogger method)
update_node() (patroni.postgresql.citus.CitusHandler method)
update_service() (patroni.dcs.consul.Consul method)
uri() (in module patroni.utils)
(patroni.dcs.consul.HTTPClient method)
use_endpoints (patroni.dcs.kubernetes.CoreV1ApiProxy attribute)
use_slots (patroni.dcs.Cluster attribute)
UserEmpty
V
validate() (patroni.validator.BinDirectory method)
(patroni.validator.Directory method)
(patroni.validator.Schema method)
validate_binary_name() (in module patroni.validator)
validate_connect_address() (in module patroni.validator)
validate_data_dir() (in module patroni.validator)
validate_directory() (in module patroni.utils)
validate_host_port() (in module patroni.validator)
validate_host_port_list() (in module patroni.validator)
validate_host_port_listen() (in module patroni.validator)
validate_host_port_listen_multiple_hosts() (in module patroni.validator)
validate_watchdog_mode() (in module patroni.validator)
ValidatorFactory (class in patroni.postgresql.validator)
ValidatorFactoryInvalidSpec
ValidatorFactoryInvalidType
ValidatorFactoryNoType
value (patroni.dcs.TimelineHistory attribute)
version (patroni.dcs.ClusterConfig attribute)
(patroni.dcs.Failover attribute)
(patroni.dcs.Leader attribute)
(patroni.dcs.SyncState attribute)
(patroni.dcs.TimelineHistory attribute)
(patroni.watchdog.linux.WatchdogInfo attribute)
W
wait() (patroni.postgresql.citus.PgDistNode method)
wait_for_port_open() (patroni.postgresql.Postgresql method)
wait_for_startup() (patroni.postgresql.Postgresql method)
wait_for_user_backends_to_close() (patroni.postgresql.postmaster.PostmasterProcess method)
wait_until_pause_is_applied() (in module patroni.ctl)
wakeup() (patroni.ha.Ha method)
(patroni.postgresql.citus.PgDistNode method)
wal_dir (patroni.postgresql.Postgresql attribute)
wal_name (patroni.postgresql.Postgresql attribute)
waldump() (patroni.postgresql.Postgresql method)
WALEConfig (class in patroni.scripts.wale_restore)
WALERestore (class in patroni.scripts.wale_restore)
watch() (patroni.dcs.AbstractDCS method)
(patroni.dcs.consul.Consul method)
(patroni.dcs.etcd.Etcd method)
(patroni.dcs.etcd3.Etcd3 method)
(patroni.dcs.kubernetes.Kubernetes method)
(patroni.dcs.zookeeper.ZooKeeper method)
(patroni.ha.Ha method)
Watchdog (class in patroni.watchdog)
(class in patroni.watchdog.base)
watchdog_info (class in patroni.watchdog.linux)
WatchdogError
,
[1]
,
[2]
WatchdogInfo (class in patroni.watchdog.linux)
watching() (in module patroni.ctl)
watchprefix() (patroni.dcs.etcd3.Etcd3Client method)
watchrange() (patroni.dcs.etcd3.Etcd3Client method)
while_not_sync_standby() (patroni.ha.Ha method)
write_failsafe() (patroni.dcs.AbstractDCS method)
write_leader_optime() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
write_param() (patroni.postgresql.config.ConfigWriter method)
write_pgpass() (patroni.postgresql.config.ConfigHandler method)
write_postgresql_conf() (patroni.postgresql.config.ConfigHandler method)
write_recovery_conf() (patroni.postgresql.config.ConfigHandler method)
write_response() (patroni.api.RestApiHandler method)
write_status() (patroni.dcs.AbstractDCS method)
write_sync_state() (patroni.dcs.AbstractDCS method)
(patroni.dcs.kubernetes.Kubernetes method)
writeline() (patroni.postgresql.config.ConfigWriter method)
writelines() (patroni.postgresql.config.ConfigWriter method)
Z
ZooKeeper (class in patroni.dcs.zookeeper)
zookeeper_hosts (patroni.dcs.exhibitor.ExhibitorEnsembleProvider attribute)
ZooKeeperError