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

ADAPTER_MODE=SCRATCH deletes bucket after file close, but has no backing file to re-obtain contents #458

Merged
merged 4 commits into from
Oct 19, 2022

Conversation

lukemartinlogan
Copy link
Collaborator

When running IOR, I noticed that ADAPTER_MODE=SCRATCH causes issues when a file is opened-modified-closed more than once in a single lifetime. This is because ADAPTER_MODE=SCRATCH doesn't store the bucket before it's destroyed. Added a condition in filesystem.cc to ensure that when ADAPTER_MODE=SCRATCH, buckets aren't destroyed when the file is closed.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 82.562% when pulling d3e7468 on lukemartinlogan:master into 4688366 on HDFGroup:master.

@lukemartinlogan lukemartinlogan merged commit 4717101 into HDFGroup:master Oct 19, 2022
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.

None yet

2 participants