forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitec4b975
committed
Reset hot standby xmin on master after restart
Hot_standby_feedback could be reset by reload and worked correctly, but ifthe server was restarted rather than reloaded the xmin was not reset.Force reset always if hot_standby_feedback is enabled at startup.Ants Aasma, Craig RingerReported-by: Ants Aasma1 parent9d4ca01 commitec4b975
File tree
2 files changed
+34
-8
lines changed- src
- backend/replication
- test/recovery/t
2 files changed
+34
-8
lines changedLines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1167 | 1167 |
| |
1168 | 1168 |
| |
1169 | 1169 |
| |
1170 |
| - | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
1171 | 1174 |
| |
1172 | 1175 |
| |
1173 | 1176 |
| |
| |||
1177 | 1180 |
| |
1178 | 1181 |
| |
1179 | 1182 |
| |
1180 |
| - | |
| 1183 | + | |
| 1184 | + | |
1181 | 1185 |
| |
1182 | 1186 |
| |
1183 | 1187 |
| |
| |||
1202 | 1206 |
| |
1203 | 1207 |
| |
1204 | 1208 |
| |
1205 |
| - | |
1206 |
| - | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
1207 | 1217 |
| |
1208 | 1218 |
| |
1209 |
| - | |
1210 |
| - | |
1211 | 1219 |
| |
1212 |
| - | |
1213 | 1220 |
| |
1214 | 1221 |
| |
1215 | 1222 |
| |
|
Lines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + |
0 commit comments
Comments
(0)