OpenSearch/test
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
..
fixtures Use streaming reads for GCS (#55506) 2020-04-21 13:22:26 +02:00
framework Use streaming reads for GCS (#55506) 2020-04-21 13:22:26 +02:00
logger-usage Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
build.gradle [7.x] Re-add origin url information to publish POM files (#55173) 2020-04-14 13:24:15 -07:00