OpenSearch/x-pack/plugin
Lee Hinman deefc85d60
[7.x] Stop policy on last PhaseCompleteStep instead of Termina… (#51758)
Currently when an ILM policy finishes its execution, the index moves into the `TerminalPolicyStep`,
denoted by a completed/completed/completed phase/action/step lifecycle execution state.

This commit changes the behavior so that the index lifecycle execution state halts at the last
configured phase's `PhaseCompleteStep`, so for instance, if an index were configured with a policy
containing a `hot` and `cold` phase, the index would stop at the `cold/complete/complete`
`PhaseCompleteStep`. This allows an ILM user to update the policy to add any later phases and have
indices configured to use that policy pick up execution at the newly added "later" phase. For
example, if a `delete` phase were added to the policy specified about, the index would then move
from `cold/complete/complete` into the `delete` phase.

Relates to #48431
2020-01-31 10:36:41 -07:00
..
analytics Begin moving date_histogram to offset rounding (take two) (#51271) (#51495) 2020-01-27 13:40:54 -05:00
autoscaling Initial autoscaling commit (#51161) 2020-01-17 15:31:12 -05:00
ccr Allow Repository Plugins to Filter Metadata on Create (#51472) (#51542) 2020-01-28 18:33:26 +01:00
core [7.x] Stop policy on last PhaseCompleteStep instead of Termina… (#51758) 2020-01-31 10:36:41 -07:00
deprecation Add warnings for invalid realm order config (#51195) (#51515) 2020-01-31 12:32:37 +11:00
enrich Formatting: keep simple if / else on the same line (#51544) 2020-01-29 10:42:04 +00:00
eql EQL: Enable QA/rest integration tests for snapshot builds only (#51624) (#51645) 2020-01-29 16:38:52 -05:00
frozen-indices Force flush in FrozenEngine#testSearchers (#51635) 2020-01-30 14:48:45 -05:00
graph Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
ilm [7.x] Stop policy on last PhaseCompleteStep instead of Termina… (#51758) 2020-01-31 10:36:41 -07:00
logstash Deprecate creation of dot-prefixed index names except for hidden and system indices (#49959) 2020-01-28 10:01:16 -07:00
mapper-flattened Add telemetry for flattened fields. (#48972) (#49125) 2019-11-18 12:29:42 -08:00
ml [ML][Inference] Fix model pagination with models as resources (#51573) (#51736) 2020-01-31 07:52:19 -05:00
monitoring [7.x] Rename ILM history index enablement setting (#51698) (#51705) 2020-01-30 15:27:44 -07:00
ql SQL: Fix ORDER BY YEAR() function (#51562) 2020-01-30 15:29:36 +01:00
rollup Use more specific loggers in subclasses of TMNA (#50076) 2019-12-11 15:07:47 +00:00
search-business-rules Fix NPE in PinnedQuery call to DisjunctionMaxScorer. (#51047) (#51064) 2020-01-16 10:41:43 +00:00
security Add warnings for invalid realm order config (#51195) (#51515) 2020-01-31 12:32:37 +11:00
spatial Geo: Switch generated GeoJson type names to camel case (#50400) 2019-12-20 15:37:22 -05:00
sql Upgrade to lucene-8.5.0-snapshot-3333ce7da6d (#51749) 2020-01-31 11:20:15 -05:00
src/test [ML][Inference] Fix model pagination with models as resources (#51573) (#51736) 2020-01-31 07:52:19 -05:00
transform Use exclusions list instead of fake system indices (#51586) 2020-01-30 16:31:27 -07:00
vectors Increase the number of vector dims to 2048 (#46895) 2019-11-20 07:47:33 -05:00
voting-only-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
watcher Use exclusions list instead of fake system indices (#51586) 2020-01-30 16:31:27 -07:00
build.gradle Formalize build snapshot (#51484) 2020-01-27 16:56:31 -05:00