directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <aok...@bellsouth.net>
Subject [rms][je] BUG: JoinCursor.close() not closing underlying SecondaryCursors
Date Sat, 01 May 2004 18:11:29 GMT
Hi,

I have found a bug where the JoinCursor.close() method does not 
close the underlying SecondaryCursors.  I have filed an issue 
about this bug in our JIRA here:

http://nagoya.apache.org/jira/browse/DIRRMS-95

If you can respond to the JIRA Issue as well as these mailing 
lists that would be great but no worries if its too much of a 
hassle.  The JIRA btw points out the code with the work around 
and how to recreate the problem.

To be complete here's the body of that issue:

Here's the JeIterator with the work around. Notice the constructor 
takes the array of SecondaryCursors for the sake of explicitly 
closing them on the close() call since the JoinCursor.close() 
operation is not doing this for us: 

http://cvs.apache.org/viewcvs.cgi/incubator/directory/rms/trunk/je/src/java/
org/apache/rms/je/JeIterator.java?rev=10481&root=Apache-SVN&view=auto

The problem btw can be recreated just by commenting out the loop 
in the JeIterator.close() method that explicitly closes the 
SecondaryCursors.

Alex




Mime
View raw message