mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-05 10:29:14 +00:00
Today in the method IOUtils#fsync we ignore IOExceptions when fsyncing a directory. However, the catch block here is too broad, for example it would be ignoring IOExceptions when we try to open a non-existant file. This commit addresses that by scoping the ignored exceptions only to the invocation of FileChannel#force.