forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9b8a851
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 parent63abf9a commit9b8a851
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
| 1080 | + | |
1080 | 1081 | | |
1081 | 1082 | | |
1082 | 1083 | | |
| |||
1089 | 1090 | | |
1090 | 1091 | | |
1091 | 1092 | | |
| 1093 | + | |
1092 | 1094 | | |
1093 | 1095 | | |
1094 | 1096 | | |
1095 | 1097 | | |
1096 | 1098 | | |
1097 | 1099 | | |
1098 | 1100 | | |
1099 | | - | |
1100 | 1101 | | |
1101 | 1102 | | |
1102 | 1103 | | |
| |||
1107 | 1108 | | |
1108 | 1109 | | |
1109 | 1110 | | |
1110 | | - | |
| 1111 | + | |
1111 | 1112 | | |
1112 | 1113 | | |
1113 | 1114 | | |
| |||
1280 | 1281 | | |
1281 | 1282 | | |
1282 | 1283 | | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
| 1284 | + | |
1287 | 1285 | | |
1288 | 1286 | | |
1289 | 1287 | | |
| |||
0 commit comments
Comments
(0)