Emmanuel Lecharny created DIRSERVER-1747:
--------------------------------------------
Summary: 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