forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdf86e52
committed
Remove temporary WAL and history files at the end of archive recovery
cbc55da has reworked the order of some actions at the end of archiverecovery. Unfortunately this overlooked the fact that the startupprocess needs to remove RECOVERYXLOG (for temporary WAL segment newlyrecovered from archives) and RECOVERYHISTORY (for temporary historyfile) at this step, leaving the files around even after recovery ended.Backpatch to 9.5, like the previous commit.Author: Sawada MasahikoReviewed-by: Fujii Masao, Michael PaquierDiscussion:https://postgr.es/m/CAD21AoBO_eDQub6zojFnWtnmutRBWvYf7=cW4Hsqj+U_R26w3Q@mail.gmail.comBackpatch-through: 9.51 parent9555cc8 commitdf86e52
File tree
2 files changed
+36
-13
lines changed- src
- backend/access/transam
- test/recovery/t
2 files changed
+36
-13
lines changedLines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5461 | 5461 |
| |
5462 | 5462 |
| |
5463 | 5463 |
| |
5464 |
| - | |
5465 | 5464 |
| |
5466 | 5465 |
| |
5467 | 5466 |
| |
| |||
5541 | 5540 |
| |
5542 | 5541 |
| |
5543 | 5542 |
| |
5544 |
| - | |
5545 |
| - | |
5546 |
| - | |
5547 |
| - | |
5548 |
| - | |
5549 |
| - | |
5550 |
| - | |
5551 |
| - | |
5552 |
| - | |
5553 |
| - | |
5554 |
| - | |
5555 | 5543 |
| |
5556 | 5544 |
| |
5557 | 5545 |
| |
| |||
7433 | 7421 |
| |
7434 | 7422 |
| |
7435 | 7423 |
| |
| 7424 | + | |
7436 | 7425 |
| |
7437 | 7426 |
| |
7438 | 7427 |
| |
| |||
7489 | 7478 |
| |
7490 | 7479 |
| |
7491 | 7480 |
| |
| 7481 | + | |
| 7482 | + | |
| 7483 | + | |
| 7484 | + | |
| 7485 | + | |
| 7486 | + | |
| 7487 | + | |
| 7488 | + | |
| 7489 | + | |
| 7490 | + | |
| 7491 | + | |
7492 | 7492 |
| |
7493 | 7493 |
| |
7494 | 7494 |
| |
|
Lines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + |
0 commit comments
Comments
(0)