OpenSearch/plugins/repository-s3
Tanguy Leroux faf96c175e
Abort non-fully consumed S3 input stream (#62167) (#62370)
Today when an S3RetryingInputStream is closed the remaining bytes 
that were not consumed are drained right before closing the underlying 
stream. In some contexts it might be more efficient to not consume the 
remaining bytes and just drop the connection.

This is for example the case with snapshot backed indices prewarming, 
where there is not point in reading potentially large blobs if we know 
the cache file we want to write the content of the blob as already been 
evicted. Draining all bytes here takes a slot in the prewarming thread 
pool for nothing.
2020-09-15 14:33:37 +02:00
..
config/repository-s3 Hide c.a.a.p.i.BasicProfileConfigFileLoader noise (#56346) 2020-05-07 17:00:58 +01:00
licenses Enforce strict license distribution requirements (#56642) 2020-05-14 13:57:56 -07:00
src Abort non-fully consumed S3 input stream (#62167) (#62370) 2020-09-15 14:33:37 +02:00
build.gradle Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00