forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc8746f9
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 parent9a85103 commitc8746f9
1 file changed
+4
-6
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2060 | 2060 |
| |
2061 | 2061 |
| |
2062 | 2062 |
| |
| 2063 | + | |
2063 | 2064 |
| |
2064 | 2065 |
| |
2065 | 2066 |
| |
| |||
2080 | 2081 |
| |
2081 | 2082 |
| |
2082 | 2083 |
| |
| 2084 | + | |
2083 | 2085 |
| |
2084 | 2086 |
| |
2085 | 2087 |
| |
2086 | 2088 |
| |
2087 | 2089 |
| |
2088 | 2090 |
| |
2089 | 2091 |
| |
2090 |
| - | |
2091 | 2092 |
| |
2092 | 2093 |
| |
2093 | 2094 |
| |
| |||
2098 | 2099 |
| |
2099 | 2100 |
| |
2100 | 2101 |
| |
2101 |
| - | |
| 2102 | + | |
2102 | 2103 |
| |
2103 | 2104 |
| |
2104 | 2105 |
| |
| |||
2267 | 2268 |
| |
2268 | 2269 |
| |
2269 | 2270 |
| |
2270 |
| - | |
2271 |
| - | |
2272 |
| - | |
2273 |
| - | |
| 2271 | + | |
2274 | 2272 |
| |
2275 | 2273 |
| |
2276 | 2274 |
| |
|
0 commit comments
Comments
(0)