Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contact file creation: fsync parent directory
On file system such as an NFS mounted file system, we may have a delay before the file becomes visible from other process running on other host. We already have a 1st fsync to ensure that the data of the contact file is written to disk. This change adds a 2nd fsync to ensure that the file metadata of the contact file is written as well - by doing an fsync on its directory.
- Loading branch information