OpenSearch/x-pack/plugin
Lee Hinman 2e3eb4b24e
Add API to execute SLM retention on-demand (#47405) (#47463)
* Add API to execute SLM retention on-demand (#47405)

This is a backport of #47405

This commit adds the `/_slm/_execute_retention` API endpoint. This
endpoint kicks off SLM retention and then returns immediately.

This in particular allows us to run retention without scheduling it
(for entirely manual invocation) or perform a one-off cleanup.

This commit also includes HLRC for the new API, and fixes an issue
in SLMSnapshotBlockingIntegTests where retention invoked prior to the
test completing could resurrect an index the internal test cluster
cleanup had already deleted.

Resolves #46508
Relates to #43663
2019-10-02 12:29:04 -06:00
..
analytics Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
ccr Speed up Snapshot Finalization (#47283) (#47309) 2019-09-30 23:28:59 +02:00
core Add API to execute SLM retention on-demand (#47405) (#47463) 2019-10-02 12:29:04 -06:00
deprecation Add migration tool checks for `_field_names` disabling (#46972) 2019-09-25 10:15:10 +02:00
frozen-indices Merge ShardSearchTransportRequest and ShardSearchLocalRequest (#46996) (#47081) 2019-09-26 09:20:53 +02:00
graph Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
ilm Add API to execute SLM retention on-demand (#47405) (#47463) 2019-10-02 12:29:04 -06:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
ml [7.x][ML] Make PUT data frame analytics action a master node action (… (#47433) 2019-10-02 16:24:21 +03:00
monitoring Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
rollup Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
search-business-rules Replace SearchContext with QueryShardContext in query builder tests (#46978) 2019-09-23 20:24:02 +02:00
security Fix Active Directory tests (#47358) (#47440) 2019-10-02 17:18:12 +03:00
spatial Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
sql Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
src/test Add API to execute SLM retention on-demand (#47405) (#47463) 2019-10-02 12:29:04 -06:00
transform Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
vectors Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
voting-only-node Close nodes properly in Coordinator tests (#44967) 2019-07-30 11:47:36 +01:00
watcher Convert most awaitBusy calls to assertBusy (#45794) (#47112) 2019-09-29 12:21:46 +01:00
build.gradle Skip feature aware check on JDK 14 (#45928) 2019-08-23 17:38:15 -04:00