forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8c8adf4
committed
Always treat a standby returning an an invalid flush location as async
This ensures that a standby such as pg_receivexlog will not be selectedas sync standby - which would cause the master to block waiting fora location that could never happen.Fujii Masao1 parent5c5d548 commit8c8adf4
3 files changed
+20
-5
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
| 381 | + | |
381 | 382 |
| |
382 | 383 |
| |
383 |
| - | |
| 384 | + | |
| 385 | + | |
384 | 386 |
| |
385 | 387 |
| |
386 | 388 |
| |
| |||
400 | 402 |
| |
401 | 403 |
| |
402 | 404 |
| |
403 |
| - | |
| 405 | + | |
| 406 | + | |
404 | 407 |
| |
405 | 408 |
| |
406 | 409 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
283 | 288 |
| |
284 | 289 |
| |
285 | 290 |
| |
|
Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1530 | 1530 |
| |
1531 | 1531 |
| |
1532 | 1532 |
| |
1533 |
| - | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1534 | 1540 |
| |
1535 | 1541 |
| |
1536 | 1542 |
| |
1537 | 1543 |
| |
1538 |
| - | |
| 1544 | + | |
| 1545 | + | |
1539 | 1546 |
| |
1540 | 1547 |
| |
1541 | 1548 |
| |
|
0 commit comments
Comments
(0)