mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
44a72a6777
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) |
||
---|---|---|
.. | ||
big.c | ||
bittests.c | ||
cmpd_dset.c | ||
Dependencies | ||
dsets.c | ||
dtypes.c | ||
enum.c | ||
extend.c | ||
external.c | ||
fill_old.h5 | ||
fillval.c | ||
flush1.c | ||
flush2.c | ||
gass_append.c | ||
gass_read.c | ||
gass_write.c | ||
gen_new_array.c | ||
gen_new_fill.c | ||
gen_old_array.c | ||
getname.c | ||
gheap.c | ||
h5test.c | ||
h5test.h | ||
hyperslab.c | ||
istore.c | ||
lheap.c | ||
links.c | ||
Makefile.in | ||
mount.c | ||
mtime.c | ||
ohdr.c | ||
set_extent.c | ||
space_overflow.c | ||
srb_append.c | ||
srb_read.c | ||
srb_write.c | ||
stab.c | ||
stream_test.c | ||
tarray.c | ||
tarrold.h5 | ||
tattr.c | ||
tconfig.c | ||
testhdf5.c | ||
testhdf5.h | ||
testmeta.c | ||
tfile.c | ||
tgenprop.c | ||
th5s.c | ||
th5s.h5 | ||
titerate.c | ||
tmeta.c | ||
tmisc.c | ||
trefer.c | ||
tselect.c | ||
ttbbt.c | ||
ttime.c | ||
ttsafe_acreate.c | ||
ttsafe_cancel.c | ||
ttsafe_dcreate.c | ||
ttsafe_error.c | ||
ttsafe.c | ||
ttsafe.h | ||
tvlstr.c | ||
tvltypes.c | ||
unlink.c |