From 1c5d9f5653a8c5e80adee76418f9045309376e2e Mon Sep 17 00:00:00 2001 From: Sophia Ruan <104968314+XiuhuaRuan@users.noreply.github.com> Date: Mon, 24 Feb 2025 20:52:32 +0800 Subject: [PATCH] fix typo: update recovery_target_timeline to recovery_target_action (#3292) In the Bootstrap doc description, there is a typo recovery_target_timeline in recovery_conf block, which should be recovery_target_action. --- docs/replica_bootstrap.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/replica_bootstrap.rst b/docs/replica_bootstrap.rst index 80c3d3de..a5939e5f 100644 --- a/docs/replica_bootstrap.rst +++ b/docs/replica_bootstrap.rst @@ -52,7 +52,7 @@ cleans up after itself and releases the initialize lock to give another node the If a ``recovery_conf`` block is defined in the same section as the custom bootstrap method, Patroni will generate a ``recovery.conf`` before starting the newly bootstrapped instance (or set the recovery settings on Postgres configuration if running PostgreSQL >= 12). -Typically, such recovery configuration should contain at least one of the ``recovery_target_*`` parameters, together with the ``recovery_target_timeline`` set to ``promote``. +Typically, such recovery configuration should contain at least one of the ``recovery_target_*`` parameters, together with the ``recovery_target_action`` set to ``promote``. If ``keep_existing_recovery_conf`` is defined and set to ``True``, Patroni will not remove the existing ``recovery.conf`` file if it exists (PostgreSQL <= 11). Similarly, in that case Patroni will not remove the existing ``recovery.signal`` or ``standby.signal`` if either exists, nor will it override the configured recovery settings (PostgreSQL >= 12).