pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Enable archiving in recovery TAP test 009_twophase.pl 4+ messages / 1 participants [nested] [flat]
* pgsql: Enable archiving in recovery TAP test 009_twophase.pl @ 2023-06-20 01:27 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2023-06-20 01:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enable archiving in recovery TAP test 009_twophase.pl This is a follow-up of f663b00, that has been committed to v13 and v14, tweaking the TAP test for two-phase transactions so as it provides coverage for the bug that has been fixed. This change is done in its own commit for clarity, as v15 and HEAD did not show the problematic behavior, still missed coverage for it. While on it, this adds a comment about the dependency of the last partial segment rename and RecoverPreparedTransactions() at the end of recovery, as that can be easy to miss. Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/743b9b45a2d4013bd90b6a5cba8d6faeb717ee34.camel@cybertec.at Backpatch-through: 13 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/68cb5af46cd8bb2f6fd25886da5d6045a6a42208 Modified Files -------------- src/backend/access/transam/xlog.c | 6 +++++- src/test/recovery/t/009_twophase.pl | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Enable archiving in recovery TAP test 009_twophase.pl @ 2023-06-20 01:27 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2023-06-20 01:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enable archiving in recovery TAP test 009_twophase.pl This is a follow-up of f663b00, that has been committed to v13 and v14, tweaking the TAP test for two-phase transactions so as it provides coverage for the bug that has been fixed. This change is done in its own commit for clarity, as v15 and HEAD did not show the problematic behavior, still missed coverage for it. While on it, this adds a comment about the dependency of the last partial segment rename and RecoverPreparedTransactions() at the end of recovery, as that can be easy to miss. Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/743b9b45a2d4013bd90b6a5cba8d6faeb717ee34.camel@cybertec.at Backpatch-through: 13 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a10be37254fe06ca0d16f34d2fd5933d3adfa66e Modified Files -------------- src/backend/access/transam/xlog.c | 6 +++++- src/test/recovery/t/009_twophase.pl | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Enable archiving in recovery TAP test 009_twophase.pl @ 2023-06-20 01:27 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2023-06-20 01:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enable archiving in recovery TAP test 009_twophase.pl This is a follow-up of f663b00, that has been committed to v13 and v14, tweaking the TAP test for two-phase transactions so as it provides coverage for the bug that has been fixed. This change is done in its own commit for clarity, as v15 and HEAD did not show the problematic behavior, still missed coverage for it. While on it, this adds a comment about the dependency of the last partial segment rename and RecoverPreparedTransactions() at the end of recovery, as that can be easy to miss. Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/743b9b45a2d4013bd90b6a5cba8d6faeb717ee34.camel@cybertec.at Backpatch-through: 13 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e6317d9b507cc7021f07a6712fa86bd893a2d469 Modified Files -------------- src/backend/access/transam/xlog.c | 6 +++++- src/test/recovery/t/009_twophase.pl | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Enable archiving in recovery TAP test 009_twophase.pl @ 2023-06-20 01:27 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2023-06-20 01:27 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enable archiving in recovery TAP test 009_twophase.pl This is a follow-up of f663b00, that has been committed to v13 and v14, tweaking the TAP test for two-phase transactions so as it provides coverage for the bug that has been fixed. This change is done in its own commit for clarity, as v15 and HEAD did not show the problematic behavior, still missed coverage for it. While on it, this adds a comment about the dependency of the last partial segment rename and RecoverPreparedTransactions() at the end of recovery, as that can be easy to miss. Author: Michael Paquier Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/743b9b45a2d4013bd90b6a5cba8d6faeb717ee34.camel@cybertec.at Backpatch-through: 13 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c360594155e5c0704a952d6b26a01bcbe07cd591 Modified Files -------------- src/backend/access/transam/xlog.c | 6 +++++- src/test/recovery/t/009_twophase.pl | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2023-06-20 01:27 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-06-20 01:27 pgsql: Enable archiving in recovery TAP test 009_twophase.pl Michael Paquier <michael@paquier.xyz> 2023-06-20 01:27 pgsql: Enable archiving in recovery TAP test 009_twophase.pl Michael Paquier <michael@paquier.xyz> 2023-06-20 01:27 pgsql: Enable archiving in recovery TAP test 009_twophase.pl Michael Paquier <michael@paquier.xyz> 2023-06-20 01:27 pgsql: Enable archiving in recovery TAP test 009_twophase.pl Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox