forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1f09121
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 parentdab1603 commit1f09121
File tree
3 files changed
+51
-6
lines changed- src
- backend
- access/transam
- storage/ipc
- include/storage
3 files changed
+51
-6
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5391 | 5391 |
| |
5392 | 5392 |
| |
5393 | 5393 |
| |
| 5394 | + | |
| 5395 | + | |
| 5396 | + | |
5394 | 5397 |
| |
5395 | 5398 |
| |
5396 | 5399 |
| |
|
Lines changed: 47 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
469 | 469 |
| |
470 | 470 |
| |
471 | 471 |
| |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
472 | 494 |
| |
473 | 495 |
| |
474 | 496 |
| |
| |||
564 | 586 |
| |
565 | 587 |
| |
566 | 588 |
| |
567 |
| - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
568 | 593 |
| |
569 | 594 |
| |
570 | 595 |
| |
| |||
636 | 661 |
| |
637 | 662 |
| |
638 | 663 |
| |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
639 | 677 |
| |
640 | 678 |
| |
641 | 679 |
| |
642 |
| - | |
643 |
| - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
644 | 683 |
| |
645 | 684 |
| |
646 | 685 |
| |
647 | 686 |
| |
648 | 687 |
| |
| 688 | + | |
649 | 689 |
| |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 | 690 |
| |
654 | 691 |
| |
655 | 692 |
| |
| |||
719 | 756 |
| |
720 | 757 |
| |
721 | 758 |
| |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
722 | 763 |
| |
723 | 764 |
| |
724 | 765 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
|
0 commit comments
Comments
(0)