forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0c4b468
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 parent817d870 commit0c4b468
3 files changed
+20
-5
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
| 379 | + | |
| 380 | + | |
380 | 381 |
| |
381 | 382 |
| |
382 |
| - | |
| 383 | + | |
| 384 | + | |
383 | 385 |
| |
384 | 386 |
| |
385 | 387 |
| |
| |||
399 | 401 |
| |
400 | 402 |
| |
401 | 403 |
| |
402 |
| - | |
| 404 | + | |
| 405 | + | |
403 | 406 |
| |
404 | 407 |
| |
405 | 408 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
284 | 289 |
| |
285 | 290 |
| |
286 | 291 |
| |
|
Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1510 | 1510 |
| |
1511 | 1511 |
| |
1512 | 1512 |
| |
1513 |
| - | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1514 | 1520 |
| |
1515 | 1521 |
| |
1516 | 1522 |
| |
1517 | 1523 |
| |
1518 |
| - | |
| 1524 | + | |
| 1525 | + | |
1519 | 1526 |
| |
1520 | 1527 |
| |
1521 | 1528 |
| |
|
0 commit comments
Comments
(0)