Skip to content

Conversation

@rbtcollins
Copy link
Contributor

Some virus scanners take out handles on files we are going to
rename, causing access errors and preventing the rename. Typically
this is short lived. Retry rather than erroring.

No feedback given at the moment, and depends on an unreleased
retry, so WIP...

Some virus scanners take out handles on files we are going to
rename, causing access errors and preventing the rename. Typically
this is short lived. Retry rather than erroring.

No feedback given at the moment, and it will be a much larger patch to
do so - as this is a regression fix I'd like to get it in and released
and follow up with something thread all the UI channels down to this
layer later (e.g. an implicit context mechanism of some sort perhaps?)
Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sound, thank you for doing the work with the retry crate too.

One point to address

@rbtcollins
Copy link
Contributor Author

rbtcollins commented May 25, 2019 via email

@kinnison
Copy link
Contributor

This will happen to wsl v1 users on windows too as they share a file system.

Accepted.

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we get a green CI, this LGTM.

@kinnison
Copy link
Contributor

I think the appveyor failure is spurious.

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.

2 participants