forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb6df079

Amit Kapila
Fix the intermittent buildfarm failures in 031_column_list.
The reason was that the ALTER SUBSCRIPTION .. SET PUBLICATION will lead tothe restarting of apply worker and after the restart, the apply workerwill use the existing slot and replication origin corresponding to thesubscription. Now, it is possible that before restart the origin has notbeen updated and the WAL start location points to a location before wherePUBLICATION exists which can lead to the error "publication ... does notexist".Fix it by recreating the subscription as a newly created subscription willstart processing WAL from the recent WAL location and will see therequired publication.This behavior has existed from the time logical replication was introducedbut is exposed by this test and we have started a discussion for a betterfix for this problem.As per BuildfarmDiagnosed-by: Amit KapilaAuthor: Vignesh CDiscussion:https://postgr.es/m/3307255.1706911634@sss.pgh.pa.us1 parentfbc93b8 commitb6df079
1 file changed
+28
-15
lines changedLines changed: 28 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
| 373 | + | |
| 374 | + | |
374 | 375 |
| |
375 | 376 |
| |
376 | 377 |
| |
| |||
411 | 412 |
| |
412 | 413 |
| |
413 | 414 |
| |
414 |
| - | |
| 415 | + | |
| 416 | + | |
415 | 417 |
| |
416 | 418 |
| |
417 | 419 |
| |
| |||
487 | 489 |
| |
488 | 490 |
| |
489 | 491 |
| |
490 |
| - | |
| 492 | + | |
| 493 | + | |
491 | 494 |
| |
492 | 495 |
| |
493 | 496 |
| |
| |||
601 | 604 |
| |
602 | 605 |
| |
603 | 606 |
| |
604 |
| - | |
| 607 | + | |
| 608 | + | |
605 | 609 |
| |
606 | 610 |
| |
607 |
| - | |
| 611 | + | |
| 612 | + | |
608 | 613 |
| |
609 | 614 |
| |
610 | 615 |
| |
| |||
667 | 672 |
| |
668 | 673 |
| |
669 | 674 |
| |
670 |
| - | |
| 675 | + | |
| 676 | + | |
671 | 677 |
| |
672 | 678 |
| |
673 |
| - | |
| 679 | + | |
| 680 | + | |
674 | 681 |
| |
675 | 682 |
| |
676 | 683 |
| |
| |||
737 | 744 |
| |
738 | 745 |
| |
739 | 746 |
| |
740 |
| - | |
| 747 | + | |
| 748 | + | |
741 | 749 |
| |
742 | 750 |
| |
743 | 751 |
| |
| |||
835 | 843 |
| |
836 | 844 |
| |
837 | 845 |
| |
838 |
| - | |
| 846 | + | |
| 847 | + | |
839 | 848 |
| |
840 | 849 |
| |
841 |
| - | |
| 850 | + | |
| 851 | + | |
842 | 852 |
| |
843 | 853 |
| |
844 | 854 |
| |
| |||
880 | 890 |
| |
881 | 891 |
| |
882 | 892 |
| |
883 |
| - | |
884 |
| - | |
| 893 | + | |
| 894 | + | |
885 | 895 |
| |
886 | 896 |
| |
887 | 897 |
| |
| |||
1022 | 1032 |
| |
1023 | 1033 |
| |
1024 | 1034 |
| |
1025 |
| - | |
| 1035 | + | |
| 1036 | + | |
1026 | 1037 |
| |
1027 | 1038 |
| |
1028 | 1039 |
| |
| |||
1090 | 1101 |
| |
1091 | 1102 |
| |
1092 | 1103 |
| |
1093 |
| - | |
| 1104 | + | |
| 1105 | + | |
1094 | 1106 |
| |
1095 | 1107 |
| |
1096 | 1108 |
| |
| |||
1138 | 1150 |
| |
1139 | 1151 |
| |
1140 | 1152 |
| |
1141 |
| - | |
| 1153 | + | |
| 1154 | + | |
1142 | 1155 |
| |
1143 | 1156 |
| |
1144 | 1157 |
| |
|
0 commit comments
Comments
(0)