https://github.com/elastic/elasticsearch
Revision 10a1d27c7b5336d9cedc3fef0a05a514d28249e3 authored by David Roberts on 03 August 2021, 16:22:06 UTC, committed by GitHub on 03 August 2021, 16:22:06 UTC
Previously attempting to delete a job that had a datafeed
would return an exception. However, this was unnecessarily
pedantic - the user would always want to delete both job
and datafeed together, and would react by deleting the
datafeed and then subsequently deleting the job again.

This change makes the delete job API automatically delete
a datafeed associated with the job. The same level of
force is used for this delete datafeed request as was used
on the delete job request. This means that it's possible
to force-delete an open job with a started datafeed (since
force-delete datafeed will automatically stop a started
datafeed). It's still not possible to delete an opened job
without using force.
1 parent 705a408
History
Tip revision: 10a1d27c7b5336d9cedc3fef0a05a514d28249e3 authored by David Roberts on 03 August 2021, 16:22:06 UTC
[ML] Deleting a job now deletes the datafeed if necessary (#76010)
Tip revision: 10a1d27
File Mode Size
.ci
.github
.idea
benchmarks
build-conventions
build-tools
build-tools-internal
client
dev-tools
distribution
docs
gradle
libs
licenses
modules
plugins
qa
rest-api-spec
server
test
x-pack
.backportrc.json -rw-r--r-- 343 bytes
.dir-locals.el -rw-r--r-- 3.3 KB
.editorconfig -rw-r--r-- 9.0 KB
.git-blame-ignore-revs -rw-r--r-- 530 bytes
.gitattributes -rw-r--r-- 32 bytes
.gitignore -rw-r--r-- 1.2 KB
CONTRIBUTING.md -rw-r--r-- 35.5 KB
LICENSE.txt -rw-r--r-- 546 bytes
NOTICE.txt -rw-r--r-- 228 bytes
README.asciidoc -rw-r--r-- 2.6 KB
TESTING.asciidoc -rw-r--r-- 32.5 KB
Vagrantfile -rw-r--r-- 14.9 KB
build.gradle -rw-r--r-- 18.0 KB
gradle.properties -rw-r--r-- 1.2 KB
gradlew -rwxr-xr-x 5.6 KB
gradlew.bat -rw-r--r-- 2.7 KB
settings.gradle -rw-r--r-- 4.3 KB

README.asciidoc

back to top