forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit23b833b
Check that xmax didn't commit in freeze check.
We cannot rely on TransactionIdDidAbort here, since in general it mayreport transactions that were in-progress at the time of an earlier hardcrash as not aborted, effectively behaving as if they were still inprogress even after crash recovery completes. Go back to defensivelyverifying that xmax didn't commit instead.Oversight in commit79d4bf4.Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/20230104035636.hy5djyr2as4gbc4q@awork3.anarazel.de1 parent253f5c6 commit23b833b
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6208 | 6208 |
| |
6209 | 6209 |
| |
6210 | 6210 |
| |
6211 |
| - | |
| 6211 | + | |
6212 | 6212 |
| |
6213 | 6213 |
| |
6214 |
| - | |
| 6214 | + | |
6215 | 6215 |
| |
6216 | 6216 |
| |
6217 | 6217 |
| |
| |||
6825 | 6825 |
| |
6826 | 6826 |
| |
6827 | 6827 |
| |
| 6828 | + | |
| 6829 | + | |
| 6830 | + | |
| 6831 | + | |
| 6832 | + | |
| 6833 | + | |
6828 | 6834 |
| |
6829 | 6835 |
| |
6830 | 6836 |
| |
6831 | 6837 |
| |
6832 | 6838 |
| |
6833 |
| - | |
| 6839 | + | |
6834 | 6840 |
| |
6835 | 6841 |
| |
6836 |
| - | |
| 6842 | + | |
6837 | 6843 |
| |
6838 | 6844 |
| |
6839 | 6845 |
| |
|
0 commit comments
Comments
(0)