forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1c8ad59
committed
Fix base backup rate limiting in presence of slow i/o
When source i/o on disk was too slow compared to the rate limitingspecified, the system could end up with a negative value for sleep thatit never got out of, which caused rate limiting to effectively beturned off.Discussion:https://postgr.es/m/CABUevEy_-e0YvL4ayoX8bH_Ja9w%2BBHoP6jUgdxZuG2nEj3uAfQ%40mail.gmail.comAnalysis by me, patch by Antonin Houska1 parent512f27c commit1c8ad59
1 file changed
+7
-17
lines changedLines changed: 7 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1303 | 1303 |
| |
1304 | 1304 |
| |
1305 | 1305 |
| |
1306 |
| - | |
1307 |
| - | |
1308 |
| - | |
1309 |
| - | |
1310 |
| - | |
1311 |
| - | |
1312 |
| - | |
1313 |
| - | |
1314 |
| - | |
1315 | 1306 |
| |
1316 | 1307 |
| |
1317 |
| - | |
1318 |
| - | |
| 1308 | + | |
| 1309 | + | |
1319 | 1310 |
| |
1320 | 1311 |
| |
1321 | 1312 |
| |
1322 |
| - | |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
1326 |
| - | |
1327 |
| - | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1328 | 1318 |
|
0 commit comments
Comments
(0)