.deleted.XXXXXX files being left around
Bug #1651675 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Gavin Panella |
Bug Description
I noticed that .deleted.XXXXXX files were sometimes being left around, and traced this to atomic_delete. When the file to be deleted does not actually exist, atomic_delete crashes, leaving behind a temporary file.
Related branches
lp:~allenap/maas/atomic-delete-leave-nothing-behind
- Mike Pontillo (community): Approve
-
Diff: 43 lines (+12/-3)2 files modifiedsrc/provisioningserver/utils/fs.py (+5/-3)
src/provisioningserver/utils/tests/test_fs.py (+7/-0)
Changed in maas: | |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.