parcio / julea

A Flexible Storage Framework for HPC
GNU Lesser General Public License v3.0
33 stars 32 forks source link

VOL julea-db does not handle relative paths #128

Open t-erxleben opened 3 years ago

t-erxleben commented 3 years ago

When a group creation call gets a name containing slashes, this name should be interpreted as a path relative to the given location. Intermediate groups may be created if specified in the lcpl.

However this is not how julea-db behaves as it just creates a group with slashes in its name: image (Screenshot of the HDF5_DB_link table)

Edit: In contrast that what happens with native HDF5:

$ h5dump somefile.h5 
HDF5 "somefile.h5" {
GROUP "/" {
   GROUP "path" {
      GROUP "to" {
         GROUP "group" {
         }
      }
   }
}
}
t-erxleben commented 3 years ago

As this behaviour is also needed for proper implementation of the object copy callback I will fix this right away.

Edit: I just realized that names are never interpreted as paths relative to location IDs so this issue applies to every open and create of groups and datasets.