OpenSearch/qa/smoke-test-ml-with-security
Dimitris Athanasiou 1ed31af2c6 [ML] Allow model_memory_limit to be reduced (elastic/x-pack-elasticsearch#3998)
Up to now a job update that reduces the model memory limit
was not allowed. However, there could definitely be cases
where reducing the limit is necessary and reasonable.

This commit makes it possible to decrease the limit as long
as it does not go below the current memory usage. We obtain
the latter from the model size stats.

The conditions under which updating the model_memory_limit
is not allowed are now:

 - when the job is open
 - latest model_size_stats.model_bytes < new value

relates elastic/x-pack-elasticsearch#2461

Original commit: elastic/x-pack-elasticsearch@5b35923590
2018-03-08 06:14:18 -08:00
..
src/test/java/org/elasticsearch/smoketest Move x-pack-core to core package (elastic/x-pack-elasticsearch#3678) 2018-01-23 12:43:58 -06:00
build.gradle [ML] Allow model_memory_limit to be reduced (elastic/x-pack-elasticsearch#3998) 2018-03-08 06:14:18 -08:00
roles.yml [ML] Make datafeeds run-as the user who created/updated them (elastic/x-pack-elasticsearch#3254) 2017-12-11 13:01:16 +00:00