forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb8aca12
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 parent119027e commitb8aca12
3 files changed
+20
-5
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
382 |
| - | |
| 382 | + | |
| 383 | + | |
383 | 384 |
| |
384 | 385 |
| |
385 |
| - | |
| 386 | + | |
| 387 | + | |
386 | 388 |
| |
387 | 389 |
| |
388 | 390 |
| |
| |||
402 | 404 |
| |
403 | 405 |
| |
404 | 406 |
| |
405 |
| - | |
| 407 | + | |
| 408 | + | |
406 | 409 |
| |
407 | 410 |
| |
408 | 411 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
279 | 284 |
| |
280 | 285 |
| |
281 | 286 |
| |
|
Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1443 | 1443 |
| |
1444 | 1444 |
| |
1445 | 1445 |
| |
1446 |
| - | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1447 | 1453 |
| |
1448 | 1454 |
| |
1449 | 1455 |
| |
1450 | 1456 |
| |
1451 |
| - | |
| 1457 | + | |
| 1458 | + | |
1452 | 1459 |
| |
1453 | 1460 |
| |
1454 | 1461 |
| |
|
0 commit comments
Comments
(0)