forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2c8a4e9
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 and oftenmuch less, allowing significantly reduced data loss at failover.Andres Freund and Simon Riggs1 parentb50991e commit2c8a4e9
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2271 | 2271 |
| |
2272 | 2272 |
| |
2273 | 2273 |
| |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
2274 | 2281 |
| |
2275 | 2282 |
| |
2276 | 2283 |
| |
|
0 commit comments
Comments
(0)