OpenSearch/x-pack/plugin
Tal Levy cfe0acc83c
separate out IndexLifecycleService cluster-state change concerns (#33033)
Changes to the IndexLifecycleService were necessary since relying on
ClusterChangedEvents for a full picture of the cluster state's settings was
a mistake. It is not necessary that these events hold all settings, especially ones
that are set at node start-up.

Changes to main include:

- move poll interval updates to a SettingsUpdateConsumer
- move scheduler start/stop to a localMasterNodeListener
- keep triggerPolicies in clusterChanged

Changes to tests include:

- removal of some low-level state transition checks in the Service that no longer make sense
  since the changes are unconditionally specified in the appropriate listeners
- add integration tests for poll-interval updates
- add integration test assertions for verifying scheduler is started up correctly
2018-08-27 14:25:27 -07:00
..
core Merge branch 'master' into index-lifecycle 2018-08-27 08:19:05 -07:00
deprecation Remove unsupported Version.V_5_* (#32937) 2018-08-24 09:51:21 +02:00
graph Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
ilm separate out IndexLifecycleService cluster-state change concerns (#33033) 2018-08-27 14:25:27 -07:00
logstash Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
ml Merge branch 'master' into index-lifecycle 2018-08-27 08:19:05 -07:00
monitoring Switch remaining x-pack tests to new style Requests (#33108) 2018-08-24 16:39:08 -04:00
rollup [Rollup] Move toBuilders() methods out of rollup config objects (#32585) 2018-08-27 09:18:26 +02:00
security Merge branch 'master' into index-lifecycle 2018-08-27 08:19:05 -07:00
sql SQL: Enable aggregations to create a separate bucket for missing values (#32832) 2018-08-27 17:56:28 +03:00
src/test Merge branch 'master' into index-lifecycle 2018-08-24 12:41:12 -07:00
upgrade Remove unsupported Version.V_5_* (#32937) 2018-08-24 09:51:21 +02:00
watcher Watcher: Improve error messages for CronEvalTool (#32800) 2018-08-23 10:07:59 +02:00
build.gradle Allow Integ Tests to run in a FIPS-140 JVM (#31989) 2018-07-24 12:48:14 +03:00