Github user uschindler commented on the pull request:
https://github.com/apache/lucenenet/pull/43#issuecomment-68867526
This is why we fsync on directory, too:
http://man7.org/linux/man-pages/man2/fsync.2.html
"Calling fsync() does not necessarily ensure that the entry in the
directory containing the file has also reached disk. For that an
explicit fsync() on a file descriptor for the directory is also
needed."
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---