forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit16222f3
committed
Wake WALSender to reduce data loss at failover for async commit.
WALSender now woken up after each background flush by WALwriter, avoidingmulti-second replication delay for an all-async commit workload.Replication delay reduced from 7s with default settings to 200ms, allowingsignificantly reduced data loss at failover.Andres Freund and Simon Riggs1 parent5c35328 commit16222f3
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2168 | 2168 | | |
2169 | 2169 | | |
2170 | 2170 | | |
| 2171 | + | |
2171 | 2172 | | |
2172 | 2173 | | |
2173 | 2174 | | |
| |||
2236 | 2237 | | |
2237 | 2238 | | |
2238 | 2239 | | |
| 2240 | + | |
2239 | 2241 | | |
2240 | 2242 | | |
2241 | 2243 | | |
2242 | 2244 | | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
2243 | 2252 | | |
2244 | 2253 | | |
2245 | 2254 | | |
| |||
0 commit comments
Comments
(0)