https://issues.apache.org/bugzilla/show_bug.cgi?id=39815
--- Comment #6 from Stefan Fritsch <[email protected]> 2009-07-08 13:51:25 PST --- This bug can also cause data loss: When something goes wrong with a PUT request that replaces a file, the old file will be deleted. I see three possible solutions: 1) Create a new hook that is called in dav_notify_created() to update the lock key. This breaks mod_dav's API compatibility and cannot be done in 2.2 2) Use a temp file that is moved over the old file as in Paul's patch, and switch the lock key from inode to filename. 3) Use a temp file that is copied over the old file. This is slow and doesn't solve the problem completely. I would vote for 2), in order to get this into 2.2. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
