OpenSearch/client/rest-high-level
Dimitris Athanasiou f49a14ce6f
[7.x][ML] Fix race condition when force stopping DF analytics job (#57680) (#57717)
When we force delete a DF analytics job, we currently first force
stop it and then we proceed with deleting the job config.
This may result in logging errors if the job config is deleted
before it is retrieved while the job is starting.

Instead of force stopping the job, it would make more sense to
try to stop the job gracefully first. So we now try that out first.
If normal stop fails, then we resort to force stopping the job to
ensure we can go through with the delete.

In addition, this commit introduces `timeout` for the delete action
and makes use of it in the child requests.

Backport of #57680
2020-06-05 17:50:01 +03:00
..
src [7.x][ML] Fix race condition when force stopping DF analytics job (#57680) (#57717) 2020-06-05 17:50:01 +03:00
build.gradle Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00
roles.yml Fix security origin for TokenService#findActiveTokensFor... (#47418) (#48280) 2019-10-21 13:15:05 +03:00
testnode.crt HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00
testnode.jks HLRC: Get SSL Certificates API (#34135) 2018-10-15 17:20:34 +01:00