OpenSearch/plugin
David Roberts 22da5cf89e [ML] Add max open jobs per node as a node attribute (elastic/x-pack-elasticsearch#2203)
This commit adds the max_running_jobs setting from elasticsearch.yml
into a node attribute called ml.max_open_jobs.  Previously there was
an assumption that max_running_jobs would be the same for all nodes in
the cluster.  However, during a rolling cluster restart where the value
of the setting is being changed this clearly cannot be the case, and
would cause unexpected/unpredictable limits to be used during the period
when different nodes had different settings.

For backwards compatibility, if another node in the cluster has not added
its setting for max_running_jobs to the cluster state then the old
(flawed but better than nothing) approach is applied, i.e. assume the
remote node's setting for max_running_jobs is equal to that of the node
deciding the job allocation.

Relates elastic/x-pack-elasticsearch#2185

Original commit: elastic/x-pack-elasticsearch@1e62b89183
2017-08-08 16:16:27 +01:00
..
bin/x-pack Remove unnecessary directory push/pop from scripts 2017-07-31 23:13:22 +09:00
bwc Remove assemble from build task when assemble removed 2017-06-16 17:19:47 -04:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Use shaded rest client dependencies 2017-07-24 12:56:17 -05:00
ml-cpp-snapshot Build: Switch ml snapshot dependency to a local project (elastic/x-pack-elasticsearch#1559) 2017-05-26 01:15:12 -07:00
src [ML] Add max open jobs per node as a node attribute (elastic/x-pack-elasticsearch#2203) 2017-08-08 16:16:27 +01:00
.gitignore Remove QueryParseContext (elastic/x-pack-elasticsearch#1895) 2017-07-03 17:31:18 +02:00
build.gradle Move tribe to a module (elastic/x-pack-elasticsearch#2088) 2017-07-28 11:23:52 +02:00