- Notifications
You must be signed in to change notification settings - Fork5
Commit1a11d46
committed
Don't set ThisTimeLineID in checkpointer & bgwriter during recovery.
We used to set it to the current recovery target timeline, but the recoverytarget timeline can change during recovery, leaving ThisTimeLineID at anold value. That seems worse than always leaving it at zero to begin with.AFAICS there was no good reason to set it in the first place. ThisTimeLineIDis not needed in checkpointer or bgwriter process, until it's time to writethe end-of-recovery checkpoint, and at that point ThisTimeLineID is updatedanyway.1 parent345fb82 commit1a11d46
File tree
3 files changed
+6
-13
lines changed- src/backend
- access/transam
- postmaster
3 files changed
+6
-13
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2901 | 2901 |
| |
2902 | 2902 |
| |
2903 | 2903 |
| |
2904 |
| - | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
2905 | 2910 |
| |
2906 | 2911 |
| |
2907 | 2912 |
| |
|
Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
224 | 224 |
| |
225 | 225 |
| |
226 | 226 |
| |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 | 227 |
| |
234 | 228 |
| |
235 | 229 |
| |
|
Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 | 349 |
| |
356 | 350 |
| |
357 | 351 |
| |
|
0 commit comments
Comments
(0)