-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to enable usage on windows #12
Conversation
@amannaly the requested changes have been made |
@rfecher thank you for the changes. Looks like this change has surfaced a bug in close() call due to which the travis build is failing. I have added a fix for the bug. Could you please add the fix also to your PR so that the build can pass. Also Yahoo requires all external contributors to sign agree to this document. Could you please take a look and sign? |
@amannaly I pulled in your fix. I also signed the CLA. Thanks! |
@rfecher Merged. Thank you. |
based on the other comment in this file referencing, it is known that this won't work in windows, and results in fatal exceptions https://grokbase.com/t/lucene/dev/1519kz2s50/recent-java-9-commit-e5b66323ae45-breaks-fsync-on-directory
It seems appropriate to allow for the situation where a file channel cannot be created on a directory because in that situation (Windows) fsync is not applicable either.