forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b47ee6
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 parent616110e commit9b47ee6
1 file changed
+4
-6
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1132 | 1132 |
| |
1133 | 1133 |
| |
1134 | 1134 |
| |
| 1135 | + | |
1135 | 1136 |
| |
1136 | 1137 |
| |
1137 | 1138 |
| |
| |||
1144 | 1145 |
| |
1145 | 1146 |
| |
1146 | 1147 |
| |
| 1148 | + | |
1147 | 1149 |
| |
1148 | 1150 |
| |
1149 | 1151 |
| |
1150 | 1152 |
| |
1151 | 1153 |
| |
1152 | 1154 |
| |
1153 | 1155 |
| |
1154 |
| - | |
1155 | 1156 |
| |
1156 | 1157 |
| |
1157 | 1158 |
| |
| |||
1162 | 1163 |
| |
1163 | 1164 |
| |
1164 | 1165 |
| |
1165 |
| - | |
| 1166 | + | |
1166 | 1167 |
| |
1167 | 1168 |
| |
1168 | 1169 |
| |
| |||
1331 | 1332 |
| |
1332 | 1333 |
| |
1333 | 1334 |
| |
1334 |
| - | |
1335 |
| - | |
1336 |
| - | |
1337 |
| - | |
| 1335 | + | |
1338 | 1336 |
| |
1339 | 1337 |
| |
1340 | 1338 |
| |
|
0 commit comments
Comments
(0)