forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7bc76d5
committed
Check RecoveryInProgress() while holding ProcArrayLock during snapshots.
This prevents a rare, yet possible race condition at the exact momentof transition from recovery to normal running.1 parent39bf463 commit7bc76d5
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
1074 | 1074 |
| |
1075 | 1075 |
| |
1076 | 1076 |
| |
1077 |
| - | |
1078 |
| - | |
1079 | 1077 |
| |
1080 | 1078 |
| |
1081 | 1079 |
| |
| |||
1091 | 1089 |
| |
1092 | 1090 |
| |
1093 | 1091 |
| |
1094 |
| - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1095 | 1098 |
| |
| 1099 | + | |
| 1100 | + | |
1096 | 1101 |
| |
1097 | 1102 |
| |
1098 | 1103 |
| |
|
0 commit comments
Comments
(0)