diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-01 03:11:34 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-01 03:11:34 (GMT) |
commit | 44a72a6777520034f87f712697ce05de5929f288 (patch) | |
tree | a8ef3c925a71a46e83bb82783aed0fcfdc33d6a0 /test/Makefile.in | |
parent | 8249ec87a2170c52baf8c33c51c1743a4ead5ec7 (diff) | |
download | hdf5-44a72a6777520034f87f712697ce05de5929f288.zip hdf5-44a72a6777520034f87f712697ce05de5929f288.tar.gz hdf5-44a72a6777520034f87f712697ce05de5929f288.tar.bz2 |
[svn-r5502] Purpose:
Test Bug Fix
Description:
Under certain [obscure] circumstances, an object header would get paged out
of the metadata cache, and when it was accessed again and brought back into
the cache, and immediately had additional metadata added to it (an
attribute, usually, or perhaps adding an object to a group), and needed to
be extended with a continuation message, but there was no room in any
existing object header chunks for the continuation message and an existing
object header message needed to be moved to the new object header chunk (I
told you it was obscure :-), the object header message moved to the new
chunk (not the new metadata being added) would get corrupted. *whew* :-)
Solution:
Actually copy the "raw" object header message information of the object
header message being moved to the new chunk, instead of relying on the
"native" object header message information being re-encoded when the object
header is flushed. This is because when an object header is paged out of
the metadata cache and subsequently brought back in, the "native"
information pointer in memory is reset to NULL and only the "raw"
information exists.
[Actually, this additional testing doesn't trigger the bug, which needs
_lots_ of objects to be created and accessed, but it does execise the
object header continuation code more than other tests in the library.]
Platforms tested:
Solaris 2.7 (arabica) & FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index b8c6b71..a066969 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -48,7 +48,8 @@ MOSTLYCLEAN=cmpd_dset.h5 dataset.h5 extend.h5 istore.h5 tfile1.h5 tfile2.h5 \ mount_[0-9].h5 testmeta.h5 ttime.h5 trefer[12].h5 tvltypes.h5 \ tvlstr.h5 flush.h5 enum1.h5 titerate.h5 ttsafe.h5 tarray1.h5 \ tgenprop.h5 tmisc.h5 tmisc2a.h5 tmisc2b.h5 tmisc3.h5 tmisc4a.h5 \ - tmisc4b.h5 tmisc5.h5 set_extent_read.h5 set_extent_create.h5 + tmisc4b.h5 tmisc5.h5 tmisc6.h5 set_extent_read.h5 \ + set_extent_create.h5 CLEAN=$(TIMINGS) ## Source and object files for programs... The TEST_SRC list contains all the |