Commit c8746f9
committed
Fix over-eager ping'ing in logical replication receiver.
Commit 3f60f69 only partially fixed the broken-status-tracking
issue in LogicalRepApplyLoop: we need ping_sent to have the same
lifetime as last_recv_timestamp. The effects are much less serious
than what that commit fixed, though. AFAICS this would just lead to
extra ping requests being sent, once per second until the sender
responds. Still, it's a bug, so backpatch to v10 as before.
Discussion: https://postgr.es/m/959627.1599248476@sss.pgh.pa.us1 parent 9a85103 commit c8746f9
1 file changed
+4
-6
lines changed| 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