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

Add VirtualApply(ApplyOpenReadFrozen) #154

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

EdSchouten
Copy link
Member

Right now the only way to read the contents of a pool backed file is to upload it into an REv2 CAS. Let's expose the ability to open files for reading through VirtualApply(), so that it's possible to use this logic outside the context of REv2.

We currently have Close() and ReadAt() operations on the file itself.
This is fairly confusing, considering that those should only be invoked
when the file is frozen.
Right now the only way to read the contents of a pool backed file is to
upload it into an REv2 CAS. Let's expose the ability to open files for
reading through VirtualApply(), so that it's possible to use this logic
outside the context of REv2.
@EdSchouten EdSchouten merged commit 0e0c240 into master Dec 6, 2024
1 check passed
@EdSchouten EdSchouten deleted the eschouten/20241206-freeze-files branch December 6, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant