pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove temporary WAL and history files at the end of archive rec
6+ messages / 1 participants
[nested] [flat]

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7ca35472cbf36bb822fe56b40cd5af1031e5081a

Modified Files
--------------
src/backend/access/transam/xlog.c    | 24 ++++++++++++------------
src/test/recovery/t/002_archiving.pl | 25 ++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/df86e52cace2c4134db51de6665682fb985f3195

Modified Files
--------------
src/backend/access/transam/xlog.c    | 24 ++++++++++++------------
src/test/recovery/t/002_archiving.pl | 25 ++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a724cdbff0bef4b962255c1e322b4deb74c309e

Modified Files
--------------
src/backend/access/transam/xlog.c    | 24 ++++++++++++------------
src/test/recovery/t/002_archiving.pl | 25 ++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ae205dfe6ced5305777919fc47371a452dfa803f

Modified Files
--------------
src/backend/access/transam/xlog.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ac1efdd080b2a26bf4f072cbd01155ba623ec401

Modified Files
--------------
src/backend/access/transam/xlog.c    | 24 ++++++++++++------------
src/test/recovery/t/002_archiving.pl | 25 ++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove temporary WAL and history files at the end of archive rec
@ 2019-10-02 06:56  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2019-10-02 06:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove temporary WAL and history files at the end of archive recovery

cbc55da has reworked the order of some actions at the end of archive
recovery.  Unfortunately this overlooked the fact that the startup
process needs to remove RECOVERYXLOG (for temporary WAL segment newly
recovered from archives) and RECOVERYHISTORY (for temporary history
file) at this step, leaving the files around even after recovery ended.

Backpatch to 9.5, like the previous commit.

Author: Sawada Masahiko
Reviewed-by: Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.com
Backpatch-through: 9.5

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b978de0eba8582f4a9cde123ca09bc776bde8c83

Modified Files
--------------
src/backend/access/transam/xlog.c    | 24 ++++++++++++------------
src/test/recovery/t/002_archiving.pl | 25 ++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2019-10-02 06:56 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec Michael Paquier <michael@paquier.xyz>
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec Michael Paquier <michael@paquier.xyz>
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec Michael Paquier <michael@paquier.xyz>
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec Michael Paquier <michael@paquier.xyz>
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec Michael Paquier <michael@paquier.xyz>
2019-10-02 06:56 pgsql: Remove temporary WAL and history files at the end of archive rec 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