Skip to content

Support for Single-Writer / Multiple-Reader (SWMR) #78

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

Closed
philbucher opened this issue Apr 29, 2025 · 2 comments · May be fixed by #79
Closed

Support for Single-Writer / Multiple-Reader (SWMR) #78

philbucher opened this issue Apr 29, 2025 · 2 comments · May be fixed by #79

Comments

@philbucher
Copy link

Hi,
I am interested in using the SWMR feature of hdf5, but it seems that this is not (well) supported yet, I only found very few mentionings of "swmr" in the source code.

Extrapolating from the h5py example, I assume this flag would need to be passed when the file is opened. So perhaps the FileBuilder could be modified to support this?

Thanks for the insights, and for the continued support of hdf5 in rust!

@magnusuMET
Copy link
Collaborator

SWMR is not supported by this crate yet, but should be possible to implement. It only needs a function for starting SWMR for the writer process and a flag for opening in SWMR mode. A PR is much appreciated!

@philbucher
Copy link
Author

thats what I thought, thanks for confirming
I am not 100% sure yet I will need the feature, but if I end up implementing it then I will make a PR

@magnusuMET magnusuMET mentioned this issue Apr 29, 2025
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 a pull request may close this issue.

2 participants