forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita360f95
committed
Remove race-prone hot_standby_feedback test cases in 001_stream_rep.pl.
This script supposed that if it turned hot_standby_feedback on and thenshut down the standby server, at least one feedback message would beguaranteed to be sent before the standby stops. But there is no suchguarantee, if the standby's walreceiver process is slow enough --- andwe've seen multiple failures in the buildfarm showing that that doeshappen in practice. While we could rearrange the walreceiver logic tomake it less likely, it seems probably impossible to create a reallybulletproof guarantee of that sort; and if we tried, we might createsituations where the walreceiver wouldn't react in a timely manner toshutdown commands. It seems better instead to remove the script'sassumption that feedback will occur before shutdown.But once we do that, these last few tests seem quite redundant withthe earlier tests in the script. So let's just drop them altogetherand save some buildfarm cycles.Backpatch to v10 where these tests were added.Discussion:https://postgr.es/m/1922.1531592205@sss.pgh.pa.us1 parent701fd0b commita360f95
1 file changed
+1
-25
lines changedLines changed: 1 addition & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - |
0 commit comments
Comments
(0)