Skip to content
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

review use of rmtree #3659

Closed
oliver-sanders opened this issue Jun 19, 2020 · 2 comments
Closed

review use of rmtree #3659

oliver-sanders opened this issue Jun 19, 2020 · 2 comments
Labels
bug? Not sure if this is a bug or not
Milestone

Comments

@oliver-sanders
Copy link
Member

oliver-sanders commented Jun 19, 2020

Nasty bug with shutil.rmtree spotted by @datamel whilst reviewing #3654.

Python's shutil.rmtree (like most things) does not work reliably on NFS filesystems. Other solutions may be affected by the same underlying issue.

The safest way I can think of handling it would is to be to give NFS a brief window to think about what it's done before taking it seriously and allowing traceback to propagate.

I'm not aware that this is causing issues in Cylc at the moment, but it is a potential bug, just yearning for the chance to surface when you really don't want it to so tagging this against bug?.

See this comment which includes examples of what other projects have done to deal with the NFS menace.

@oliver-sanders oliver-sanders added the bug? Not sure if this is a bug or not label Jun 19, 2020
@oliver-sanders oliver-sanders added this to the cylc-8.0.0 milestone Jun 19, 2020
@MetRonnie
Copy link
Member

MetRonnie commented Apr 22, 2021

Superseded by #4133? Although it doesn't suggest retrying the deletion after a delay like here

@MetRonnie
Copy link
Member

Closed by #5359

@MetRonnie MetRonnie modified the milestones: 8.x, cylc-8.1.3 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Not sure if this is a bug or not
Projects
None yet
Development

No branches or pull requests

3 participants