Index initialization is taking way too much time
------------------------------------------------
Key: DIRSERVER-1711
URL: https://issues.apache.org/jira/browse/DIRSERVER-1711
Project: Directory ApacheDS
Issue Type: Improvement
Affects Versions: 2.0.0-M6
Reporter: Emmanuel Lecharny
Fix For: 2.0.0-M7
When we add some new ATs to be indexed, they are created at startup. As the
buildUserIndex() method is called for every single index, and as the master
table is being browsed during this process, indexing 10 AT will result into the
master table to be read 10 times, which is extremely costly....
We must process all the index in one shot, reading the Master table only once.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira