From 90948bcd048e62811779327186f0f9df70d4ec32 Mon Sep 17 00:00:00 2001 From: dissolution <50195845+SDV109@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:23:50 +0700 Subject: [PATCH] pgBackRest: Fix timeline divergence after PITR (#820) Changing the target-action parameter from shutdown to pause --- automation/roles/patroni/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/roles/patroni/tasks/main.yml b/automation/roles/patroni/tasks/main.yml index 709cf5ee4..2d5d6f49c 100644 --- a/automation/roles/patroni/tasks/main.yml +++ b/automation/roles/patroni/tasks/main.yml @@ -673,7 +673,7 @@ - name: Run "{{ pgbackrest_patroni_cluster_restore_command }}" on Replica ansible.builtin.command: > {{ pgbackrest_patroni_cluster_restore_command }} - {{ '--target-action=shutdown' if pgbackrest_patroni_cluster_restore_command is search('--type=') else '' }} + {{ '--target-action=pause' if pgbackrest_patroni_cluster_restore_command is search('--type=') else '' }} async: "{{ cluster_restore_timeout | default(86400) }}" # timeout 24 hours poll: 0 register: pgbackrest_restore_replica