OpenSearch/libs
Jason Tedor 5f7d5920d7
Fix IOUtils#fsync on Windows fsyncing directories (#43008)
Fsyncing directories on Windows is not possible. We always suppressed
this by allowing that an AccessDeniedException is thrown when attemping
to open the directory for reading. Yet, this suppression also allowed
other IOExceptions to be suppressed, and that was a bug (e.g., the
directory not existing, or a filesystem error and reasons that we might
get an access denied there, like genuine permissions issues). This
leniency was previously removed yet it exposed that we were suppressing
this case on Windows. Rather than relying on exceptions for flow control
and continuing to suppress there, we simply return early if attempting
to fsync a directory on Windows (we will not put this burden on the
caller).
2019-06-07 23:00:26 -04:00
..
cli [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
core Fix IOUtils#fsync on Windows fsyncing directories (#43008) 2019-06-07 23:00:26 -04:00
dissect Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
geo [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
grok Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
nio Remove `nonApplicationWrite` from `SSLDriver` (#42954) 2019-06-06 17:44:40 -04:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
ssl-config [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
x-content Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00