directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Selcuk Aya (JIRA)" <>
Subject [jira] [Updated] (DIRSERVER-1642) Unexpected behaviour in JdbmIndex
Date Mon, 29 Aug 2011 07:23:37 GMT


Selcuk Aya updated DIRSERVER-1642:

    Attachment: jdbm5.diff

I changed jdbm-partition to use the versioned Btree. Test cases except StoredProcedureIT are
passing. I think the issue with StoredProcedureIT is an exisiting one with serialization of
the store procedure and I added an ignore for this test case.

> Unexpected behaviour in JdbmIndex
> ---------------------------------
>                 Key: DIRSERVER-1642
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stefan Seelmann
>         Attachments: DIRSERVER-1642.patch,, jdbm1.diff, jdbm2.diff, jdbm3.diff,
jdbm4.diff, jdbm5.diff
> During my experiments and tests of removing one-level and sub-level indices at least
one integration test "SearchAuthorizationIT" failed (the test fails recursivelyDelete()).
A debugging session showed that the follwing:
> - in recursivelyDelete() multiple search requests are done which leads to multiple open
cursors in the XDBM search engine
> - an entry is deleted
> - when the open cursors are advanced wrong/unexpected entries are returned
> I was able to create a small test that shows the problem:
> - the index contains six tuples:
> (a,1)
> (b,2)
> (c,3)
> (d,4)
> (e,5)
> (f,6)
> - a cursor over the index is created and advanced two times, the expected tuples (a,1)
and (b,2) were returned
> - now tuple (c,3) is deleted
> - when the cursor is advanced again the tuple (b,2) is returned again! I had expected
> Note that this doesn't happen with AvlIndex.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message