Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1747

Presence index is not up to date when the server is started

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M7
    • Fix Version/s: 2.0.0-M8
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: