Message 135912 - Python tracker (original) (raw)

Something's missing in all the implementations presented: to make sure that the new version of the file is available afer a crash, fsync must be called on the containing directory after the rename.