directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2049) Queries interrupted with delete/add operations
Date Tue, 10 Feb 2015 17:02:11 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314467#comment-14314467
] 

Emmanuel Lecharny commented on DIRSERVER-2049:
----------------------------------------------

Basically, yes. Mavibot will become the backend for 2.0-RC1.

Atm, mavibot is a bit young, and there are many missing parts we need to add :
- transaction support : we want to be able to flush on disk all the updates done when modifying
an entry in one shot. Currently, we do that with many writes (the entry, each indexes, etc),
and this is costly.
- free-page management : we have a very basic free page management atm, we are only capable
of getting back non used pages that are older than the oldest revision being used
- bulk load

All those three features are currently work in progress. We already have a backend which is
roughly twice faster than JDBM, and we do expect to make it even faster with the txn support.

Later on, we want to add multi-updates transaction support, transactions across many updates,
to speed up the write operations.




> Queries interrupted with delete/add operations
> ----------------------------------------------
>
>                 Key: DIRSERVER-2049
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2049
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M19
>         Environment: RHEL6 / Java jdk1.7.0_55
>            Reporter: David Foust
>
> We were testing ApacheDS again here in our organization since DIRSERVER-1992 was resolved.
I'm finding that with 10000 people entries, if I perform the following in order my query fails:
> 1. Query all objectClass=person
> 2. (while query is still running) - Delete any single person
> 3. (while query is still running) - Recreate same entry
> 4. Query will stop, error reports:
> 02:50:37 PM: List failed
> Root error: [LDAP: error code 80 - OTHER: failed for MessageType : SEARCH_REQUEST
> Message ID : 5
> The delete and add operation performs as expected. The query works as expected if the
del/add operation doesn't happen before it is finished.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message