jclouds icon indicating copy to clipboard operation
jclouds copied to clipboard

Use the same file handle in file system `getBlob`

Open gaul opened this issue 2 years ago • 1 comments

Previously getBlob lazily returned a ByteSource which could return a different content length than the blob metadata. Instead eagerly open a FileInputStream for consistency. Note that this has some consequences for LocalBlobStore.getBlob when used with ranges.

gaul avatar Jan 29 '23 09:01 gaul

I am still thinking about the range issue.

gaul avatar Jan 29 '23 09:01 gaul

Abandoning this since S3Proxy's filesystem-nio2 provider does what I need: https://github.com/gaul/s3proxy/issues/697.

gaul avatar Dec 04 '24 20:12 gaul