OpenSearch/x-pack/plugin
Dimitris Athanasiou cebe8da617
[7.x][ML] MlMemoryTracker should ignore analytics tasks without config (#46789) (#46811)
It is possible for a running analytics job that its config is removed
from the '.ml-config' index (perhaps the user deleted the entire index,
etc.). In that case the task remains without a matching config. I have
raised #46781 to discuss how to deal with this issue.

This commit focuses on `MlMemoryTracker` and changes it so that when
we get the configs for the running tasks we leniently ignore missing ones.
This at least means memory tracking will keep working for other jobs
if one or more are missing.

In addition, this commit makes the cleanup code for native analytics
tests more robust by explicitly stopping all jobs and force-stopping
if an error occurs. This helps so that a single failing test does
not cause other tests fail due to pending tasks.

Backport of #46789
2019-09-18 16:35:25 +03:00
..
analytics Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
ccr Make Snapshot Logic Write Metadata after Segments (#45689) (#46764) 2019-09-17 13:09:39 +02:00
core Add node setting for disabling SLM (#46794) (#46796) 2019-09-17 17:39:41 -06:00
deprecation Add deprecation check for pidfile setting (#45939) 2019-08-24 17:19:20 -04:00
frozen-indices Ignore translog retention policy if soft-deletes enabled (#45473) 2019-08-22 16:40:06 -04:00
graph Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
ilm Add node setting for disabling SLM (#46794) (#46796) 2019-09-17 17:39:41 -06:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Add support for 'flattened object' fields. (#43762) 2019-07-01 12:08:50 +03:00
ml [7.x][ML] MlMemoryTracker should ignore analytics tasks without config (#46789) (#46811) 2019-09-18 16:35:25 +03:00
monitoring Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
rollup [7.x Backport] Refactor AllocatedPersistentTask#init(), move rollup ctor logic (#46406) 2019-09-11 17:00:28 -04:00
search-business-rules Test fix for PinnedQueryBuilderIT (#46187) (#46227) 2019-09-02 13:31:22 +01:00
security Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
spatial reset queryGeometry in ShapeQueryTests (#45974) (#46251) 2019-09-03 10:24:46 +02:00
sql Add resolution rule to allow resolving all deps (#46768) 2019-09-18 11:09:43 +03:00
src/test Fixes for API specification (#46522) (#46736) 2019-09-17 11:49:24 +02:00
transform [ML][Transform] Use field caps for mapping deductino (#46703) (#46742) 2019-09-16 10:05:55 -04:00
vectors First round of optimizations for vector functions. (#46294) 2019-09-04 14:45:57 -07:00
voting-only-node Close nodes properly in Coordinator tests (#44967) 2019-07-30 11:47:36 +01:00
watcher Fix class used to initialize logger in Watcher (#46467) 2019-09-10 12:41:36 -06:00
build.gradle Skip feature aware check on JDK 14 (#45928) 2019-08-23 17:38:15 -04:00