forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf44eedc
committed
Ensure no xid gaps during Hot Standby startup
In some cases with higher numbers of subtransactionsit was possible for us to incorrectly initializesubtrans leading to complaints of missing pages.Bug report by Sergey KonoplevAnalysis and fix by Andres Freund1 parent4f1490c commitf44eedc
File tree
3 files changed
+48
-4
lines changed- src
- backend
- access/transam
- storage/ipc
- include/storage
3 files changed
+48
-4
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6117 | 6117 |
| |
6118 | 6118 |
| |
6119 | 6119 |
| |
| 6120 | + | |
| 6121 | + | |
| 6122 | + | |
6120 | 6123 |
| |
6121 | 6124 |
| |
6122 | 6125 |
| |
|
Lines changed: 44 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
438 | 460 |
| |
439 | 461 |
| |
440 | 462 |
| |
| |||
523 | 545 |
| |
524 | 546 |
| |
525 | 547 |
| |
526 |
| - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
527 | 552 |
| |
528 | 553 |
| |
529 | 554 |
| |
| |||
595 | 620 |
| |
596 | 621 |
| |
597 | 622 |
| |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
598 | 636 |
| |
599 | 637 |
| |
600 | 638 |
| |
| |||
606 | 644 |
| |
607 | 645 |
| |
608 | 646 |
| |
| 647 | + | |
609 | 648 |
| |
610 |
| - | |
611 |
| - | |
612 |
| - | |
613 | 649 |
| |
614 | 650 |
| |
615 | 651 |
| |
| |||
669 | 705 |
| |
670 | 706 |
| |
671 | 707 |
| |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
672 | 712 |
| |
673 | 713 |
| |
674 | 714 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
|
0 commit comments
Comments
(0)