mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 18:38:41 +00:00
Previously a `kill -9` on the `autodetect` process associated with a job would leave the job in the OPENED state. Now if the C++ process dies before a request to close the job is made then the job state is set to FAILED. For this purpose C++ process death is defined as end-of-file on the log stream. (Technically it would be possible to get end-of-file on the log stream while the C++ process was still running, but this would also represent an unexpected and undesirable situation.) Original commit: elastic/x-pack-elasticsearch@2b74c56a79