forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite1cd66f
committed
Reduce impact of btree page reuse on Hot Standby by fixing off-by-1 error.
WAL records of type XLOG_BTREE_REUSE_PAGE were generated using alatestRemovedXid one higher than actually needed because xid used waspage opaque->btpo.xact rather than an actually removed xid.Noticed on an otherwise quiet system by Noah Misch.Noah Misch and Simon Riggs1 parent9abbed0 commite1cd66f
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
| 563 | + | |
| 564 | + | |
563 | 565 |
| |
564 | 566 |
| |
565 |
| - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
566 | 576 |
| |
567 | 577 |
| |
568 | 578 |
| |
|
0 commit comments
Comments
(0)