elasticsearch/elasticsearch — pull request #5746 by s1monw (2014-04-09 14:26:33+00:00)
Title: Prevent fsync from creating 0-byte files

This is related to LUCENE-5570 where fsync creates a 0-byte file
if the file does not exists. This commit adds the patched lucene
version using Java 7 APIs as well as a note to replace this method
with the upcomeing IOUtils#fsync in Lucene 4.8