Skip to content

Ebusy retry - #128

Open
conceptualspace wants to merge 2 commits into
isaacs:mainfrom
konode001:EBUSY-retry
Open

Ebusy retry#128
conceptualspace wants to merge 2 commits into
isaacs:mainfrom
konode001:EBUSY-retry

Conversation

@conceptualspace

@conceptualspace conceptualspace commented May 3, 2018

Copy link
Copy Markdown

win32: retry rename on EBUSY, as we do for EPERM and EACCESS

EBUSY can occur when resources are locked by applications (ex. Dropbox, AV). it seems sensible to retry in this scenario too. the proposed behavior is consistent with rimraf (https://github.com/isaacs/rimraf)

resolves #127

when rename fails with EBUSY we should also retry like we do with EPERM and EACCESS

behaviour is consistent with rm (https://github.com/isaacs/rimraf)

resolves isaacs#127
@Toilal

Toilal commented Dec 5, 2018

Copy link
Copy Markdown

Would you consider merging this pull request ? I'm getting warning because of this issue when running npm install over a NFS share.

@mbargiel

mbargiel commented Nov 2, 2022

Copy link
Copy Markdown

@isaacs Say, while this PR is no longer mergeable and has no tests, the fix it implements actually solves a problem we've run into on 4.2.8. Would you accept a "respin" of this PR if I contributed one? I would reapply this fix on top of the current implementation + provide test coverage.

@zkochan

zkochan commented Apr 4, 2023

Copy link
Copy Markdown

This one was fixed: #127

@mbargiel

mbargiel commented Apr 4, 2023

Copy link
Copy Markdown

Thanks for the info @zkochan !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should rename account for 'EBUSY' on Windows?

4 participants