Open markcmiller86 opened 2 weeks ago
I believe that if you reverse the ordering of the libver settings and instead create file using a fapl with libver v18 in both high and low and then attempt to open it with a fapl that sets libver to latest, that also fails.
Just one other observation to share here and that is that the libver bounds property is associated with file access, not file creation properties. Therefere, I would NOT expect it to have affected the file creation. Furthermore, the documentation regarding setting of libver bounds (in props or on an open file) does not speak specifically to file creation...only object creation in a file.
In the code below, I compare setting setting libver bounds in FAPL used in H5Fopen to using switch to change libver bounds after the file is open.
Since the libver bounds in the fapl is intended to effect only the objects created thereafter, I am puzzled why the attempts to open a file created with libver set to LATEST then fail when FAPL sets libver to v18. I mean, shouldn't the open succeed and then behave as if
H5Fset_libver_bounds()
was called. Its particularly strange in the read-only case because no objects will be created under those conditions and the libver setting is kinda meaningless.