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] [Resolved] (DIRSERVER-1747) Presence index is not up to date when the server is started
Date Tue, 02 Oct 2012 12:37:07 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1747.
------------------------------------------

    Resolution: Fixed

The administrative-role index has been added into the default configuration
                
> Presence index is not up to date when the server is started
> -----------------------------------------------------------
>
>                 Key: DIRSERVER-1747
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1747
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M7
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-M8
>
>
> When we start the server the very first time, the initialization tries to load the entries
which have an administrative-role AT. It uses the (administrative-role=*) filter, which uses
the Presence index. The evaluation done in the backend considers that we have an Long.MAX_INTEGER
candidate.
> That will result in a full scan, which is extremely costly when we have a lot of entries.
> We should add an index for the administrative-role, and for some other AT that are loaded
in cache at startup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message