HDFGroup / HDFGroup/hdf5

[Feature Request] Print error message during plugin load when plugin version and H5VL_version mismatch

Open
#2,429 1 comment 0 reactions 1 assignee Assigned to @glennsong09 View on GitHub
Component - C Library
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

**Is your feature request related to a problem? Please describe.**
During a VOL object connector plugin load, when the version of the plugin set in H5VL_class_t mismatches with H5VL_version the loading phase fails silently without reporting the reason via an error message to the application.

In particular, the aforementioned code segment is the following in H5VLint.c file line 2457 in develop branch.
if (*success && cls->version != H5VL_VERSION)
*success = FALSE;

**Describe the solution you'd like**
It would be more helpful to fail with the appropriate error message to quickly discover the issue.

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.