OpenSearch/distribution
David Roberts 2608012422
Add temporary directory cleanup workarounds (#32615)
On some Linux distributions tmpfiles.d cleans files and
directories under /tmp if they haven't been accessed for
10 days.

This can cause problems for ML as ML is currently the only
component that uses the temp directory more than a few
seconds after startup. If you didn't open an ML job for
10 days and then tried to open one then the temp directory
would have been deleted.

This commit prevents the problem occurring in the case of
Elasticsearch being managed by systemd, as systemd private
temp directories are not subject to periodic cleanup (by
default).

Additionally there are now some docs to warn people about
the risk and suggest a manual mitigation for .tar.gz users.
2018-08-07 16:59:56 +01:00
..
archives Remove BouncyCastle dependency from runtime (#32193) 2018-07-21 00:03:58 +03:00
bwc Add JDK11 support and enable in CI (#31644) 2018-07-05 03:24:01 +00:00
packages Add temporary directory cleanup workarounds (#32615) 2018-08-07 16:59:56 +01:00
src Logging: Make node name consistent in logger (#31588) 2018-07-31 10:54:24 -04:00
tools Enable testing in FIPS140 JVM (#31666) 2018-07-17 10:54:10 +03:00
build.gradle Remove BouncyCastle dependency from runtime (#32193) 2018-07-21 00:03:58 +03:00