forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita75dbf7
committed
StartupXLOG: Call CleanupAfterArchiveRecovery after XLogReportParameters.
This does a better job grouping related operations together, sinceall of the WAL records that we need to write prior to allowing WALwrites generally and written by a single uninterrupted stretch of code.Since CleanupAfterArchiveRecovery() just (1) runs recovery_end_command,(2) removes non-parent xlog files, and (3) archives any final partialsegment, this should be safe, because all of those things are prettymuch unrelated to the WAL record written by XLogReportParameters().Amul Sul, per a suggestion from meDiscussion:http://postgr.es/m/CAAJ_b97fysj6sRSQEfOHj-y8Jfd5uPqOgO74qast89B4WfD+TA@mail.gmail.com1 parent166f943 commita75dbf7
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8094 | 8094 |
| |
8095 | 8095 |
| |
8096 | 8096 |
| |
8097 |
| - | |
8098 |
| - | |
8099 |
| - | |
8100 |
| - | |
8101 | 8097 |
| |
8102 | 8098 |
| |
8103 | 8099 |
| |
8104 | 8100 |
| |
8105 | 8101 |
| |
8106 | 8102 |
| |
8107 | 8103 |
| |
| 8104 | + | |
| 8105 | + | |
| 8106 | + | |
| 8107 | + | |
8108 | 8108 |
| |
8109 | 8109 |
| |
8110 | 8110 |
| |
|
0 commit comments
Comments
(0)