directory-dev mailing list archives

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

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:

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:

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


View raw message