We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For now, HDF5 hyperslap are valid only for the time life of their parent dataset object.
Currently, HighFive selection do not increase the reference counter of their parent DataSet.
This can lead to confusing situation like
_hdf5_file.getDataSet("fdfdfd").select(...)
Where parent dataset lifetime is inferior to selection lifetime, creating invalid selection object.
The solution to this is to make "Selection" object to own a dataset reference ( increase reference counter ) instead of just using a weak reference.
The text was updated successfully, but these errors were encountered:
Solve Selection/Dataset reference github issue #1
21e104a
- Convert reference to Dataset from simple C++ reference to full object with COW patter
Solved and tested
Sorry, something went wrong.
No branches or pull requests
For now, HDF5 hyperslap are valid only for the time life of their parent dataset object.
Currently, HighFive selection do not increase the reference counter of their parent DataSet.
This can lead to confusing situation like
_hdf5_file.getDataSet("fdfdfd").select(...)
Where parent dataset lifetime is inferior to selection lifetime, creating invalid selection object.
The solution to this is to make "Selection" object to own a dataset reference ( increase reference counter ) instead of just using a weak reference.
The text was updated successfully, but these errors were encountered: