forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita41c881
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 parent27e9e86 commita41c881
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 | |
---|---|---|---|
| |||
6449 | 6449 |
| |
6450 | 6450 |
| |
6451 | 6451 |
| |
| 6452 | + | |
| 6453 | + | |
| 6454 | + | |
6452 | 6455 |
| |
6453 | 6456 |
| |
6454 | 6457 |
| |
|
Lines changed: 47 additions & 6 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 |
| |
601 |
| - | |
602 |
| - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
603 | 642 |
| |
604 | 643 |
| |
605 | 644 |
| |
606 | 645 |
| |
607 | 646 |
| |
| 647 | + | |
608 | 648 |
| |
609 |
| - | |
610 |
| - | |
611 |
| - | |
612 | 649 |
| |
613 | 650 |
| |
614 | 651 |
| |
| |||
667 | 704 |
| |
668 | 705 |
| |
669 | 706 |
| |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
670 | 711 |
| |
671 | 712 |
| |
672 | 713 |
| |
|
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)