OpenSearch/docs/java-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
..
asyncsearch [Docs] Add HLRC Async Search API documentation (#54353) 2020-03-30 15:37:22 +02:00
ccr Add Pause/Resume Auto-Follower APIs to High Level REST Client (#48004) 2019-10-14 18:25:53 +02:00
cluster [7.x] HLRC: document index template v2 and component template APIs (#56136) (#56225) 2020-05-05 19:51:54 +01:00
document Add Get Source API to the HLRC (#51342) 2020-01-23 13:16:20 +01:00
enrich Add HLRC support for enrich execute policy API (#47991) 2019-10-14 19:55:48 +02:00
graph [DOCS] Adds missing icons to Graph HLRC APIs (#46630) 2019-09-11 15:22:10 -07:00
ilm SLM Start/Stop HLRC and docs (#47966) 2019-10-14 16:56:31 -06:00
indices [7.x] Rename template V2 classes to ComposableTemplate (#57183) (#57232) 2020-05-27 11:01:59 -06:00
ingest REST high-level client: add simulate pipeline API (#31158) 2018-06-22 09:59:04 +02:00
licensing HLRC: add support for get license basic/trial status API (#33176) 2018-11-13 15:52:59 +01:00
migration Remove Migration Upgrade and Assistance APIs (#40075) 2019-03-18 13:46:56 -06:00
miscellaneous HLRC: Convert xpack methods to client side objects (#40705) 2019-04-04 11:06:44 -05:00
ml [7.x][ML] Fix race condition when force stopping DF analytics job (#57680) (#57717) 2020-06-05 17:50:01 +03:00
rollup [DOCS] Merge rollup config details into API (#49412) 2019-11-22 08:39:49 -08:00
script HLRC: Add put stored script support to high-level rest client (#31323) 2018-09-09 13:47:47 +02:00
search [Docs] Update multi-search.asciidoc (#56284) 2020-05-06 16:54:09 +02:00
security Remove uniqueness constraint for API key name and make it optional (#47549) (#47959) 2019-10-12 22:22:16 +11:00
snapshot Add Restore Snapshot High Level REST API 2018-07-24 16:17:09 +02:00
tasks Broadcast cancellation to only nodes have outstanding child tasks (#54312) 2020-04-06 11:11:29 -04:00
transform [7.x][Transform] add throttling (#56007) (#56184) 2020-05-05 13:09:02 +02:00
watcher [Docs] Fix typo in start-watch-service.asciidoc (#57182) 2020-05-27 15:50:31 +02:00
aggs-builders.asciidoc Implement top_metrics agg (#51155) (#52366) 2020-02-14 11:19:11 -05:00
execution-no-req.asciidoc [DOCS] Fixes terms in HLRC data frame transform APIs (#44838) (#44865) 2019-07-25 10:08:38 -07:00
execution.asciidoc [DOCS] Fixes terms in HLRC data frame transform APIs (#44838) (#44865) 2019-07-25 10:08:38 -07:00
getting-started.asciidoc [DOCS] Fix "Asynchronous usage" title in HLRC docs (#52017) 2020-02-07 09:40:16 -05:00
index.asciidoc [7.x][DOCS] Replace docdir attribute with es-repo-dir (#57489) (#57494) 2020-06-01 16:42:53 -07:00
java-builders.asciidoc Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
migration.asciidoc Docs: Pin two IDs in the rest client (#40785) 2019-04-04 12:03:36 -04:00
query-builders.asciidoc Search - added HLRC support for PinnedQueryBuilder (#45779) (#45853) 2019-08-23 09:22:17 +01:00
supported-apis.asciidoc [7.x] HLRC: document index template v2 and component template APIs (#56136) (#56225) 2020-05-05 19:51:54 +01:00