OpenSearch/plugins
Armin Braun aad33121d8
Async Snapshot Repository Deletes (#40144) (#41571)
Motivated by slow snapshot deletes reported in e.g. #39656 and the fact that these likely are a contributing factor to repositories accumulating stale files over time when deletes fail to finish in time and are interrupted before they can complete.

* Makes snapshot deletion async and parallelizes some steps of the delete process that can be safely run concurrently via the snapshot thread poll
   * I did not take the biggest potential speedup step here and parallelize the shard file deletion because that's probably better handled by moving to bulk deletes where possible (and can still be parallelized via the snapshot pool where it isn't). Also, I wanted to keep the size of the PR manageable.
* See https://github.com/elastic/elasticsearch/pull/39656#issuecomment-470492106
* Also, as a side effect this gives the `SnapshotResiliencyTests` a little more coverage for master failover scenarios (since parallel access to a blob store repository during deletes is now possible since a delete isn't a single task anymore).
* By adding a `ThreadPool` reference to the repository this also lays the groundwork to parallelizing shard snapshot uploads to improve the situation reported in #39657
2019-04-26 15:36:09 +02:00
..
analysis-icu Add ignore_above in ICUCollationKeywordFieldMapper (#40414) 2019-04-19 14:19:35 -07:00
analysis-kuromoji Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
analysis-nori Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
analysis-phonetic Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
analysis-smartcn Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
analysis-stempel Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
analysis-ukrainian Upgrade to Lucene release 8.0.0 (#39998) 2019-03-13 18:11:50 +01:00
discovery-azure-classic Update apache httpclient to version 4.5.8 (#40875) 2019-04-05 13:48:10 -06:00
discovery-ec2 [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
discovery-gce [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
examples [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
ingest-attachment Remove -Xlint exclusions in all plugins. (#40721) 2019-04-04 08:30:34 +02:00
mapper-annotated-text search as you type fieldmapper (#35600) 2019-03-27 13:29:13 -07: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 Async Snapshot Repository Deletes (#40144) (#41571) 2019-04-26 15:36:09 +02:00
repository-gcs Async Snapshot Repository Deletes (#40144) (#41571) 2019-04-26 15:36:09 +02:00
repository-hdfs Async Snapshot Repository Deletes (#40144) (#41571) 2019-04-26 15:36:09 +02:00
repository-s3 Async Snapshot Repository Deletes (#40144) (#41571) 2019-04-26 15:36:09 +02:00
store-smb Store Pending Deletions Fix (#40345) 2019-03-26 15:30:44 +01:00
transport-nio Revert "Remove dedicated SSL network write buffer (#41283)" 2019-04-25 18:39:25 -06:00
build.gradle Convert repository-hdfs to testclusters (#41252) 2019-04-19 09:47:14 +03:00