forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9d091e0
committed
Fix bug in early startup of Hot Standby with subtransactions.
When HS startup is deferred because of overflowed subtransactions, ensurethat we re-initialize KnownAssignedXids for when both existing and incomingsnapshots have non-zero qualifying xids.Fixes bug #6661 reported by Valentine Gogichashvili.Analysis and fix by Andres Freund1 parentda6bb58 commit9d091e0
1 file changed
+31
-1
lines changedLines changed: 31 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
| 161 | + | |
161 | 162 |
| |
162 | 163 |
| |
163 | 164 |
| |
| |||
493 | 494 |
| |
494 | 495 |
| |
495 | 496 |
| |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
496 | 502 |
| |
497 | 503 |
| |
498 | 504 |
| |
| |||
536 | 542 |
| |
537 | 543 |
| |
538 | 544 |
| |
539 |
| - | |
540 | 545 |
| |
541 | 546 |
| |
542 | 547 |
| |
| |||
566 | 571 |
| |
567 | 572 |
| |
568 | 573 |
| |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
569 | 580 |
| |
570 | 581 |
| |
571 | 582 |
| |
| |||
3133 | 3144 |
| |
3134 | 3145 |
| |
3135 | 3146 |
| |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + |
0 commit comments
Comments
(0)