fix(plugin): do not append pgData if walName already contains it#6964
fix(plugin): do not append pgData if walName already contains it#6964
Conversation
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
❗ By default, the pull request is configured to backport to all release branches.
|
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
3 similar comments
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
1 similar comment
|
Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id> |
|
This is just a quick fix with the intent of avoiding any side effects. |
|
The E2e test run failed because of #6932 https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/13523799301 |
|
/ok-to-merge E2E green on EDB fork |
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
…udnative-pg#6964) This patch prevents the plugin executor from appending `$PGDATA/pg_wal` two times when the archiving of a WAL file is requested. This was happening when archiving the ready WALs in a former primary. Fixes: cloudnative-pg#6965 Fixes: cloudnative-pg/plugin-barman-cloud#164 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
This commit fixes incorrect walrestore path passed to plugins if destination path is already absolute. See #6964 Closes #9067 Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
This commit fixes incorrect walrestore path passed to plugins if destination path is already absolute. See #6964 Closes #9067 Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 70d884f)
This commit fixes incorrect walrestore path passed to plugins if destination path is already absolute. See #6964 Closes #9067 Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 70d884f)
This commit fixes incorrect walrestore path passed to plugins if destination path is already absolute. See #6964 Closes #9067 Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 70d884f)
This commit fixes incorrect walrestore path passed to plugins if destination path is already absolute. See #6964 Closes #9067 Signed-off-by: Ivan Arkhipov <endevir@yandex-team.ru> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 70d884f)
This patch prevents the plugin executor to append
$PGDATA/pg_waltwo timeswhen the archiving of a WAL file is requested.
This was happening when archiving the ready WALs in a former primary.
Fixes: #6965
Fixes: cloudnative-pg/plugin-barman-cloud#164