Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7685

Query on IDM relationship endpoint takes much longer time to return with external DS as repo

    XMLWordPrintable

    Details

      Description

      This issue should be used for resolving the limitations identified in OPENIDM-15322.

      It has already been hypothesized that the unindexed searches could be avoided by using the VLV indexes instead, although this requires enhancements to our VLV support (see OPENDJ-7573).

      However, VLV indexes are still subject to cursor look through limits (see org.opends.server.api.ClientConnection#getCursorEntryLimit), so this would need to be relaxed for IDM via resource limits if not already the case.

      It's quite possible that these searches are being performed by Rest2Ldap as "inner" searches, e.g. when resolving references. If that's the case then an alternative solution could be for Rest2Ldap to use VLV searches or sorted paged results to constrain index scanning. We should also first verify that IDM/Rest2Ldap is using VLV/paged results for outer searches as well.

      This issue can be closed once we have:

      The investigation should start very soon so that we have a chance of resolving the problem before the end of the winter season.

        Attachments

          Issue Links

            Activity

              People

              fabiop Fabio Pistolesi
              matthew Matthew Swift
              Fabio Pistolesi Fabio Pistolesi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: