Commit c64339f
committed
When updating ShmemVariableCache from a checkpoint record, be sure to set
all the values derived from oldestXid, not just that field. Brain fade in
one of my patches associated with flat file removal, exposed by a report
from Fujii Masao.
With this change, xidVacLimit should always be valid, so remove a couple of
bits of complexity associated with the previous assumption that sometimes
it wouldn't get set right away.1 parent 711804f commit c64339f
2 files changed
+13
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 74 | | |
78 | 75 | | |
79 | | - | |
80 | | - | |
| 76 | + | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
340 | 336 | | |
341 | 337 | | |
342 | 338 | | |
343 | | - | |
| 339 | + | |
344 | 340 | | |
345 | 341 | | |
346 | 342 | | |
347 | | - | |
| 343 | + | |
348 | 344 | | |
349 | 345 | | |
350 | 346 | | |
| |||
399 | 395 | | |
400 | 396 | | |
401 | 397 | | |
402 | | - | |
403 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
404 | 401 | | |
405 | 402 | | |
406 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
4761 | 4761 | | |
4762 | 4762 | | |
4763 | 4763 | | |
4764 | | - | |
4765 | | - | |
| 4764 | + | |
4766 | 4765 | | |
4767 | 4766 | | |
4768 | 4767 | | |
| |||
5597 | 5596 | | |
5598 | 5597 | | |
5599 | 5598 | | |
5600 | | - | |
5601 | | - | |
| 5599 | + | |
5602 | 5600 | | |
5603 | 5601 | | |
5604 | 5602 | | |
| |||
7447 | 7445 | | |
7448 | 7446 | | |
7449 | 7447 | | |
7450 | | - | |
7451 | | - | |
| 7448 | + | |
7452 | 7449 | | |
7453 | 7450 | | |
7454 | 7451 | | |
| |||
7502 | 7499 | | |
7503 | 7500 | | |
7504 | 7501 | | |
7505 | | - | |
7506 | | - | |
7507 | | - | |
7508 | | - | |
| 7502 | + | |
| 7503 | + | |
7509 | 7504 | | |
7510 | 7505 | | |
7511 | 7506 | | |
| |||
0 commit comments