Fix cache image testing issues and re-enable testing (#6311)

Fix issue where chunked datasets could get setup with an incorrect
chunking index type in parallel HDF5

Fix issue where metadata cache images with an undefined address
and size of 0 couldn't be properly decoded

Fix issue where a flag in H5Cimage.c wasn't getting set correctly
for release builds of the library, leading to incorrect error
checking when reconstructing metadata cache entries
This commit is contained in:
jhendersonHDF
2026-03-27 11:29:18 -05:00
committed by GitHub
parent 994dbf6ea9
commit 0c734cbe80
8 changed files with 75 additions and 62 deletions
+12
View File
@@ -123,6 +123,18 @@ We would like to thank the many HDF5 community members who contributed to this r
The direct I/O VFD attempts to determine data alignment requirements for a file on file open to try and avoid extra work when data alignment isn't required. Depending on the file access flags used when opening a file, the VFD could incorrectly determine these requirements for either writes or reads, eventually leading to a possible EINVAL return value on write or read. This has been fixed by separately determining the requirements for writes and reads and being more conservative about trying to avoid data alignment requirements.
### Fixed an issue with chunked datasets using the wrong index type with parallel HDF5
Fixed a bug in parallel HDF5 that would cause chunked datasets with fixed dimensions and without filters applied to use the "none" index type instead of the "fixed array" index type.
### Fixed an issue with decoding metadata cache image superblock extension messages
Fixed a bug where loading of a metadata cache image superblock extension message would fail when the image had an undefined address and size of 0.
### Fixed an issue with an incorrect file format validation check when decoding metadata cache entries
Fixed a bug where a flag in H5Cimage.c wasn't getting set correctly for release builds of HDF5, leading to incorrect error checking when reconstructing metadata cache entries.
## Java Library
## Configuration