HPSS cannot rename-over packs on win32
Bug #376895 reported by
Adrian Wilkins
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
Windows does not allow you to rename files over other files, but the finish() method of bzrlib.
This causes a problem where a repository can get wedged (for a particular branch) ; if a failure leaves a particular pack in the packs folder, that pack cannot subsequently be written.
A case where this occurred was a push to a win32 server running bzr as an ISAPI extension under IIS. An (as yet undiagnosed problem) occurred and a particular pack was left in /packs. This pack was subsequently created again by a second attempt to push, creating a pack with the same MD5 which then could not be renamed over the original file.
tags: | added: win32 |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
One fix would be to just use the fancy rename. Other would be to improve the collision checking logic.