- Notifications
You must be signed in to change notification settings - Fork28
Commit9b81a30
committed
Fix over-eager ping'ing in logical replication receiver.
Commit3f60f69 only partially fixed the broken-status-trackingissue in LogicalRepApplyLoop: we need ping_sent to have the samelifetime as last_recv_timestamp. The effects are much less seriousthan what that commit fixed, though. AFAICS this would just lead toextra ping requests being sent, once per second until the senderresponds. Still, it's a bug, so backpatch to v10 as before.Discussion:https://postgr.es/m/959627.1599248476@sss.pgh.pa.us1 parent4a4f3bf commit9b81a30
1 file changed
+4
-6
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1491 | 1491 |
| |
1492 | 1492 |
| |
1493 | 1493 |
| |
| 1494 | + | |
1494 | 1495 |
| |
1495 | 1496 |
| |
1496 | 1497 |
| |
| |||
1503 | 1504 |
| |
1504 | 1505 |
| |
1505 | 1506 |
| |
| 1507 | + | |
1506 | 1508 |
| |
1507 | 1509 |
| |
1508 | 1510 |
| |
1509 | 1511 |
| |
1510 | 1512 |
| |
1511 | 1513 |
| |
1512 | 1514 |
| |
1513 |
| - | |
1514 | 1515 |
| |
1515 | 1516 |
| |
1516 | 1517 |
| |
| |||
1521 | 1522 |
| |
1522 | 1523 |
| |
1523 | 1524 |
| |
1524 |
| - | |
| 1525 | + | |
1525 | 1526 |
| |
1526 | 1527 |
| |
1527 | 1528 |
| |
| |||
1690 | 1691 |
| |
1691 | 1692 |
| |
1692 | 1693 |
| |
1693 |
| - | |
1694 |
| - | |
1695 |
| - | |
1696 |
| - | |
| 1694 | + | |
1697 | 1695 |
| |
1698 | 1696 |
| |
1699 | 1697 |
| |
|
0 commit comments
Comments
(0)