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
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:
- identified the cause of the problem in IDM (see Jason's comment for initial guidance: https://bugster.forgerock.org/jira/browse/OPENIDM-15322?focusedCommentId=213536&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-213536)
- identified any RFEs required in order to improve the performance. The IDM issue will be resolved once these additional RFEs are resolved.
The investigation should start very soon so that we have a chance of resolving the problem before the end of the winter season.