Uh oh!
There was an error while loading. Please reload this page.
Up retry for ETXTBSY - #60741
Conversation
Still seeing occasional failure in Alpine (https://dev.azure.com/dnceng/public/_build/results?buildId=1434759) so raising the retry time.
ghost
commented
Oct 21, 2021
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
agocke
commented
Oct 25, 2021
ping @VSadov for review |
| // 10 ms is short, but the race we're trying to avoid is in-between | ||
| // "fork" and "exec", so it should be fast | ||
| Thread.Sleep(10); | ||
| Thread.Sleep(50); |
There was a problem hiding this comment.
Now if we wait, we would wait at least 50ms. I think something like Sleep(i * 20) and limiting i < 4 could have better balance between common quick case and if needed a longer wait.
The nice part is that the fist iteration would be Sleep(0), which works like a machine-wide Yield, but without minimum wait.
VSadov
left a comment
There was a problem hiding this comment.
LGTM, but I think scaling the back-off wait would allow us to wait longer in rare unfortunate cases and thus reduce chances that we will need to look at this again.
Still seeing occasional failure in Alpine
(https://dev.azure.com/dnceng/public/_build/results?buildId=1434759) so
raising the retry time.