OpenSearch/modules
Armin Braun 6aaee8aa0a
Repository Cleanup Endpoint (#43900) (#45780)
* Repository Cleanup Endpoint (#43900)

* Snapshot cleanup functionality via transport/REST endpoint.
* Added all the infrastructure for this with the HLRC and node client
* Made use of it in tests and resolved relevant TODO
* Added new `Custom` CS element that tracks the cleanup logic.
Kept it similar to the delete and in progress classes and gave it
some (for now) redundant way of handling multiple cleanups but only allow one
* Use the exact same mechanism used by deletes to have the combination
of CS entry and increment in repository state ID provide some
concurrency safety (the initial approach of just an entry in the CS
was not enough, we must increment the repository state ID to be safe
against concurrent modifications, otherwise we run the risk of "cleaning up"
blobs that just got created without noticing)
* Isolated the logic to the transport action class as much as I could.
It's not ideal, but we don't need to keep any state and do the same
for other repository operations
(like getting the detailed snapshot shard status)
2019-08-21 17:59:49 +02:00
..
aggs-matrix-stats Fix Tring to Mutate Immutable Collections 2019-07-22 11:04:05 +02:00
analysis-common Enable reloading of synonym_graph filters (#45135) 2019-08-02 15:33:42 +02:00
ingest-common Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
ingest-geoip Mute multiple tests on Windows (7.x) (#44676) 2019-07-22 11:32:29 +03:00
ingest-user-agent convert modules to use testclusters (#40804) 2019-04-04 11:45:40 +03:00
lang-expression Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
lang-mustache Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
lang-painless transport.publish_address should contain CNAME (#45626) 2019-08-16 17:42:00 +02:00
mapper-extras Add mapper-extras and the RankFeatureQuery in the hlrc (#43713) 2019-08-14 18:41:39 +02:00
parent-join Remove generic on AggregatorFactory (#43664) (#44079) 2019-07-10 13:20:28 -04:00
percolator Refactor index engines to manage readers instead of searchers (#43860) 2019-07-04 22:49:43 +02:00
rank-eval Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
reindex Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
repository-url Repository Cleanup Endpoint (#43900) (#45780) 2019-08-21 17:59:49 +02:00
systemd Mark fields in SystemdPluginTests as final 2019-07-24 17:16:50 +09:00
transport-netty4 Fix bug in copying bytes for socket write (#45463) 2019-08-12 15:59:26 -06:00
build.gradle convert modules to use testclusters (#40804) 2019-04-04 11:45:40 +03:00