- Notifications
You must be signed in to change notification settings - Fork5
Commit9dc842f
committed
Don't try to truncate multixact SLRU files in checkpoints done during xlog
recovery. In the first place, it doesn't work because slru'slatest_page_number isn't set up yet (this is why we've been hearing reportsof strange "apparent wraparound" log messages during crash recovery, butonly from people who'd managed to advance their next-mxact counters someconsiderable distance from 0). In the second place, it seems a bit unwiseto be throwing away data during crash recovery anwyway. This latterconsideration convinces me to just disable truncation during recovery,rather than computing latest_page_number and pushing ahead.1 parenta8e44f0 commit9dc842f
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
1493 | 1493 |
| |
1494 | 1494 |
| |
1495 | 1495 |
| |
1496 |
| - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
1497 | 1501 |
| |
1498 |
| - | |
| 1502 | + | |
| 1503 | + | |
1499 | 1504 |
| |
1500 | 1505 |
| |
1501 | 1506 |
| |
|
0 commit comments
Comments
(0)