OpenSearch/plugins/repository-gcs
Armin Braun 74e3694234
Optimize GCS Repo Uploads (#51596) (#51618)
For small uploads (that can still be up to 5MB!) we needlessly
reading the `InputStream` into a BAOS which entailed allocating
the `byte[]` for the stream contents twice (because to `toByteArray` on the BAOS copies).

Also, for resumeable uploads we were needlessly wrapping the output channel and running each individual write in its own privileged context when we could just wrap the whole upload in a single privileged context.

Relates #51593
2020-01-29 16:07:30 +01:00
..
licenses Update http-core and http-client dependencies (#46549) 2019-09-12 09:45:29 +02:00
qa Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
src Optimize GCS Repo Uploads (#51596) (#51618) 2020-01-29 16:07:30 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00