OpenSearch/docs/java-rest/high-level
Dimitris Athanasiou 4dacfa95d2
[ML] Allow asynchronous job deletion (#34058)
This changes the delete job API by adding
the choice to delete a job asynchronously.
The commit adds a `wait_for_completion` parameter
to the delete job request. When set to `false`,
the action returns immediately and the response
contains the task id.

This also changes the handling of subsequent
delete requests for a job that is already being
deleted. It now uses the task framework to check
if the job is being deleted instead of the cluster
state. This is a beneficial for it is going to also
be working once the job configs are moved out of the
cluster state and into an index. Also, force delete
requests that are waiting for the job to be deleted
will not proceed with the deletion if the first task
fails. This will prevent overloading the cluster. Instead,
the failure is communicated better via notifications
so that the user may retry.

Finally, this makes the `deleting` property of the job
visible (also it was renamed from `deleted`). This allows
a client to render a deleting job differently.

Closes #32836
2018-10-05 02:41:28 +03:00
..
cluster Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
document HLRC: Add throttling for update & delete-by-query (#33951) 2018-10-02 21:44:15 +02:00
graph HLRC GraphClient and associated tests (#32366) 2018-08-21 13:29:18 +01:00
indices Remove obsolete parameters from analyze rest spec (#31795) 2018-07-06 09:05:34 +01:00
ingest REST high-level client: add simulate pipeline API (#31158) 2018-06-22 09:59:04 +02:00
licensing [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
migration HLRC: migration get assistance API (#32744) 2018-08-13 11:05:27 +02:00
miscellaneous [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
ml [ML] Allow asynchronous job deletion (#34058) 2018-10-05 02:41:28 +03:00
rollup HLRC: Add get rollup job (#33921) 2018-10-02 09:11:29 -04:00
script HLRC: Add put stored script support to high-level rest client (#31323) 2018-09-09 13:47:47 +02:00
search Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
security Fix HLRC docs 2018-10-02 13:23:44 +03:00
snapshot Add Restore Snapshot High Level REST API 2018-07-24 16:17:09 +02:00
tasks high level REST api: cancel task (#30745) 2018-06-07 14:02:23 -07:00
watcher Small fixes to the HLRC watcher documentation. (#34306) 2018-10-04 23:30:20 +02:00
aggs-builders.asciidoc [DOCS] Update APIs grouping and ordering in REST high-level Client docs (#28497) 2018-02-02 17:19:50 +01:00
execution.asciidoc Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04:00
getting-started.asciidoc Docs: Explain closing the high level client 2018-07-12 16:22:42 -04:00
index.asciidoc Docs: Cut down on high level rest client copy-and-paste-ness (#34125) 2018-09-28 14:48:11 -04: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] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
query-builders.asciidoc added docs for `wrapper` query. 2018-03-14 11:51:22 +01:00
supported-apis.asciidoc HLRC: ML Adding get datafeed stats API (#34271) 2018-10-04 14:43:06 -07:00