forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit55b5686
committed
Revert recent changes with durable_rename_excl()
This reverts commits2c902bb andccfbd92. Per buildfarm memberskestrel, rorqual and calliphoridae, the assertions checking that a TLIhistory file should not exist when created by a WAL receiver have beenfailing, and switching to durable_rename() over durable_rename_excl()would cause the newest TLI history file to overwrite the existing one.We need to think harder about such cases, so revert the new logic fornow.Note that all the failures have been reported in the test025_stuck_on_old_timeline.Discussion:https://postgr.es/m/511362.1651116498@sss.pgh.pa.us1 parente84f82a commit55b5686
File tree
6 files changed
+91
-13
lines changed- contrib/basic_archive
- src
- backend
- access/transam
- storage/file
- include
- storage
6 files changed
+91
-13
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
284 |
| - | |
285 |
| - | |
| 284 | + | |
286 | 285 |
| |
287 |
| - | |
| 286 | + | |
288 | 287 |
| |
289 | 288 |
| |
290 | 289 |
| |
|
Lines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
442 |
| - | |
443 | 442 |
| |
444 | 443 |
| |
445 |
| - | |
446 |
| - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
447 | 450 |
| |
448 | 451 |
| |
449 | 452 |
| |
| |||
514 | 517 |
| |
515 | 518 |
| |
516 | 519 |
| |
517 |
| - | |
518 | 520 |
| |
519 | 521 |
| |
520 |
| - | |
521 |
| - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
522 | 528 |
| |
523 | 529 |
| |
524 | 530 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3323 | 3323 |
| |
3324 | 3324 |
| |
3325 | 3325 |
| |
3326 |
| - | |
3327 |
| - | |
3328 |
| - | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
3329 | 3331 |
| |
3330 | 3332 |
| |
3331 |
| - | |
| 3333 | + | |
3332 | 3334 |
| |
3333 | 3335 |
| |
3334 | 3336 |
| |
|
Lines changed: 63 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
807 | 807 |
| |
808 | 808 |
| |
809 | 809 |
| |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
810 | 873 |
| |
811 | 874 |
| |
812 | 875 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
166 | 173 |
| |
167 | 174 |
| |
168 | 175 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
| 190 | + | |
190 | 191 |
| |
191 | 192 |
| |
192 | 193 |
| |
|
0 commit comments
Comments
(0)