You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/06 23:52:00 UTC

[jira] [Resolved] (DIRSERVER-2049) Queries interrupted with delete/add operations

     [ https://issues.apache.org/jira/browse/DIRSERVER-2049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-2049.
------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0.AM26

This has been fixed a while ago. Any addition or deletion done while doing a search will modify the output of the search, but will not result in an error.

The way it now works is that we construct a set of entry IDs and iterate on it while processing the search. If one of the selected entries is not anymore present when we try to read it from the database, then the entry will be ignored.

> 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
>            Priority: Major
>             Fix For: 2.0.0.AM26
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org