db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dag.Wan...@Sun.COM (Dag H. Wanvik)
Subject Re: Possible problem in org.apache.derby.impl.store.access.BackingStoreHashTableFromScan
Date Sun, 18 Mar 2007 02:06:31 GMT
Mike Matrigali <mikem_app@sbcglobal.net> writes:

> 2) need to check if temporary files are going to work right in
>    holdability case.  It looks like when actual backing to disk was
>    added the holdability case was not considered.
>
> Does anyone know if derby temporary files will work correctly if held
> open past commit.  Off hand I don't remember the process where they
> are cleaned up - is that currently keyed by commit?

Running with the patch I uploaded for DERBY-2462, I see that when
running the repro, the temporary files used by DiskHashTable (btree,
heap) are removed when the hash scan result set closes (via
DiskHashTable#close), so it seems to be handled correctly.

Dag

Mime
View raw message