mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-06 02:49:35 +00:00
Fixes elastic/prelert-legacy#803 On Windows the JVM hangs during shutdown if the native controller process is still running. A thread dump suggests this is because of a finalizer being blocked. We can avoid the problem by explicitly telling the controller to exit when the node is stopped. Although the hang is Windows-specific, it doesn't hurt to do this on *nix too. Original commit: elastic/x-pack-elasticsearch@6fa1c2b966