[
https://issues.apache.org/jira/browse/DIRSERVER-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-1747.
------------------------------------------
Resolution: Invalid
The administrative-role is not indexed. This is why it's not added into the
Presence index.
We should add this index to 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: Bug
> Affects Versions: 2.0.0-M7
> Reporter: Emmanuel Lecharny
> Priority: Critical
> 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,
> which is obvioulsy wrong.
> That will result in a full scan, which is extremely costly when we have a lot
> of entries.
--
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