- Notifications
You must be signed in to change notification settings - Fork5
Commit10238fa
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 parentcc07e06 commit10238fa
1 file changed
+7
-17
lines changedLines changed: 7 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1370 | 1370 |
| |
1371 | 1371 |
| |
1372 | 1372 |
| |
1373 |
| - | |
1374 |
| - | |
1375 |
| - | |
1376 |
| - | |
1377 |
| - | |
1378 |
| - | |
1379 |
| - | |
1380 |
| - | |
1381 |
| - | |
1382 | 1373 |
| |
1383 | 1374 |
| |
1384 |
| - | |
1385 |
| - | |
| 1375 | + | |
| 1376 | + | |
1386 | 1377 |
| |
1387 | 1378 |
| |
1388 | 1379 |
| |
1389 |
| - | |
1390 |
| - | |
1391 |
| - | |
1392 |
| - | |
1393 |
| - | |
1394 |
| - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1395 | 1385 |
|
0 commit comments
Comments
(0)