forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit090e8a9
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 parent110ebff commit090e8a9
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2115 | 2115 |
| |
2116 | 2116 |
| |
2117 | 2117 |
| |
| 2118 | + | |
2118 | 2119 |
| |
2119 | 2120 |
| |
2120 | 2121 |
| |
| |||
2183 | 2184 |
| |
2184 | 2185 |
| |
2185 | 2186 |
| |
| 2187 | + | |
2186 | 2188 |
| |
2187 | 2189 |
| |
2188 | 2190 |
| |
2189 | 2191 |
| |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2190 | 2199 |
| |
2191 | 2200 |
| |
2192 | 2201 |
| |
|
0 commit comments
Comments
(0)