OpenSearch/plugins
Yannick Welsch ba39c261e8 Use streaming reads for GCS (#55506)
To read from GCS repositories we're currently using Google SDK's official BlobReadChannel,
which issues a new request every 2MB (default chunk size for BlobReadChannel) using range
requests, and fully downloads the chunk before exposing it to the returned InputStream. This
means that the SDK issues an awfully high number of requests to download large blobs.
Increasing the chunk size is not an option, as that will mean that an awfully high amount of
heap memory will be consumed by the download process.

The Google SDK does not provide the right abstractions for a streaming download. This PR
uses the lower-level primitives of the SDK to implement a streaming download, similar to what
S3's SDK does.

Also closes #55505
2020-04-21 13:22:26 +02:00
..
analysis-icu Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
analysis-kuromoji Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
analysis-nori Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
analysis-phonetic Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
analysis-smartcn Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
analysis-stempel Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
analysis-ukrainian Upgrade to lucene 8.5.1 release (#55229) (#55235) 2020-04-15 17:35:42 +02:00
discovery-azure-classic Refactor global build info plugin to leverage JavaInstallationRegistry (#54026) 2020-03-23 15:30:10 -07:00
discovery-ec2 [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
discovery-gce [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
examples Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
ingest-attachment Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
mapper-annotated-text [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
mapper-murmur3 [7.x] Comprehensively test supported/unsupported field type:agg combinations (#54451) 2020-03-31 14:35:03 -04:00
mapper-size [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
repository-azure Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
repository-gcs Use streaming reads for GCS (#55506) 2020-04-21 13:22:26 +02:00
repository-hdfs [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
repository-s3 Add GCS support for searchable snapshots (#55403) 2020-04-20 13:02:59 +02:00
store-smb [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
transport-nio [7.x] Re-add origin url information to publish POM files (#55173) 2020-04-14 13:24:15 -07:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00