-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(hdiutil): fixed detach error check #190
Conversation
Added check for err.code Added 5 attempts with backoff.
I'd be glad to lend a hand to get this merged and released |
@alexpelan have you tested this? |
Yeah, I patched this on my machine and it's working fine, unblocked me. I haven't ever reached the attempts > 5 boundary where it terminates, but I've definitely seen the backoff and future attempts succeeding. It seems like it fails exactly once for me every time 🤷 |
Can confirm this commit also solves the problem perfectly for me - exactly as alex said, seemed to retry once :) |
I just hit the |
Is there anyone with the powers to get this in and cut a new release? |
We're also seeing this issue, confirmed this fix works, and would love to expedite this however we can. |
@joanx thanks for confirming that the fix works 👍 Released as 🚢 0.6.1 / 2021-07-07 |
Sorry to reopen this, but there is still an issue in that patch. hdiutil returns EBUSY (16) on "Resource busy", then don't think it's needed to add Ressource busy test (redundant with err.code === 16). |
Hi, @dmahieuDos . Please see #200 and upvote it. |
Fix for issue #142
Added check for err.code
Added 5 attempts with backoff.