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

Make BlobFile functions exception safe #520

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jorisdral
Copy link
Collaborator

@jorisdral jorisdral commented Jan 8, 2025

No description provided.

@jorisdral jorisdral self-assigned this Jan 8, 2025
@jorisdral jorisdral marked this pull request as draft January 8, 2025 17:31
@jorisdral jorisdral force-pushed the jdral/fault-test-blobfile branch from c444b15 to a869832 Compare January 14, 2025 10:53
@jorisdral jorisdral force-pushed the jdral/fault-test-blobfile branch from a869832 to 0fe4ac4 Compare January 14, 2025 13:32
@jorisdral jorisdral marked this pull request as ready for review January 14, 2025 13:32
Comment on lines +74 to +77
-- TODO: this function takes ownership of the file path. The file is
-- removed when the blob file is finalised, which may lead to
-- surprise errors when the file is also deleted elsewhere. Maybe
-- file paths should be guarded by 'Ref's as well?
Copy link
Collaborator Author

@jorisdral jorisdral Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something I might know how to fix, but don't want to spend too much time on now because it requires more elaborate changes to the code. I'll leave it as a TODO and address it in a separate PR

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