OpenSearch/plugins
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
..
analysis-icu Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-kuromoji Add support for inlined user dictionary in the Kuromoji plugin (#45489) 2019-08-21 16:28:30 +02:00
analysis-nori Add support for inlined user dictionary in the Kuromoji plugin (#45489) 2019-08-21 16:28:30 +02:00
analysis-phonetic Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-smartcn Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-stempel Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
analysis-ukrainian Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
discovery-azure-classic Allow parsing the value of java.version sysprop (#44017) 2019-07-22 20:14:56 +03:00
discovery-ec2 [Backport] Enable caching of rest tests which use integ-test distribution (#44181) 2019-07-10 15:42:28 -07:00
discovery-gce [Backport] Enable caching of rest tests which use integ-test distribution (#44181) 2019-07-10 15:42:28 -07:00
examples Update the schema for the REST API specification (#42346) 2019-08-16 14:40:00 +02:00
ingest-attachment Ingest Attachment: Upgrade tika to v1.22 (#45575) 2019-08-19 18:17:16 -04:00
mapper-annotated-text Simplify handling of keyword field normalizers (#42002) 2019-05-10 14:38:46 +01:00
mapper-murmur3 Small refactorings to analysis components (#40745) 2019-04-03 14:22:16 +02:00
mapper-size Remove -Xlint exclusions in all plugins. (#40721) 2019-04-04 08:30:34 +02:00
repository-azure Repository Cleanup Endpoint (#43900) (#45780) 2019-08-21 17:59:49 +02:00
repository-gcs Repository Cleanup Endpoint (#43900) (#45780) 2019-08-21 17:59:49 +02:00
repository-hdfs Repository Cleanup Endpoint (#43900) (#45780) 2019-08-21 17:59:49 +02:00
repository-s3 Repository Cleanup Endpoint (#43900) (#45780) 2019-08-21 17:59:49 +02:00
store-smb Remove usage of FileSwitchDirectory (#42937) 2019-06-12 19:35:27 +02:00
transport-nio Upgrade to Netty 4.1.38 (#45132) (#45364) 2019-08-09 03:38:14 +02:00
build.gradle Testclsuters: convert plugins qa projects (#41496) 2019-04-26 08:57:52 -07:00