SEC2J - standalone transactions/journaling implementation available before 1.10.0

Dear All,

Here’s something cool for managing issues with corrupt HDF5 files (e.g. 1
<http://hdf-forum.184993.n3.nabble.com/hdf-forum-Recover-a-corrupt-HDF5-file-td193622.html>
, 2
<http://hdf-forum.184993.n3.nabble.com/File-corruption-and-hdf5-design-considerations-td4025305.html>).
It’s still a work in progress and not fully tested but it’s basically an
implementation of journalling for the default SEC2 file driver of HDF5.
This functionality was planned for release 1.10.0 by the HDF5 group but
since I needed it now… here you go.

http://algoholic.eu/sec2j-journalling-for-hdf5/

Comment from a core HDF5 developer:

···

---
Seems like a reasonable implementation, with a good use of the public
VFD interface to reenter the underlying VFD used (i.e. it's a stacking
version). It's not as integrated as our solution, so the user must
indicate
when to start/stop journaling operations, but that can be a good thing too,
since multiple metadata operations can be journaled together, creating a
single
'transaction' from the user's perspective.
---

Best,

Stanislaw