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

Fall back to opening HDF5 files w/o locking #162

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

jl-wynen
Copy link
Member

Fixes #99

Please make sure you understand the comment.

I tested manually on the login node with CODA data and it worked. Unfortunately, I don't see a feasible way to automatically test this in CI. We would have to mount a read-only filesystem. I can look into that if you think it is worth the effort.

I benchmarked this implementation vs. disabling locking directly by setting locking=False when calling _open_nexus_file. And I did not see a time difference.

@jl-wynen jl-wynen merged commit 9c364a5 into main Jan 16, 2025
3 of 4 checks passed
@jl-wynen jl-wynen deleted the open-wo-locking branch January 16, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

File-lock option handling.
2 participants