Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the same file handle in file system getBlob #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaul
Copy link
Member

@gaul gaul commented Jan 29, 2023

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.

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
Copy link
Member Author

gaul commented Jan 29, 2023

I am still thinking about the range issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant