forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit557433f
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 parent16222f3 commit557433f
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 |
| |
| |||
3159 | 3170 |
| |
3160 | 3171 |
| |
3161 | 3172 |
| |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
| 3180 | + | |
| 3181 | + | |
| 3182 | + | |
| 3183 | + | |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + |
0 commit comments
Comments
(0)