Cache LDAP group sync by filter queries
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Zendesk: https://gitlab.zendesk.com/agent/tickets/110479
LDAP group sync caches LDAP search results to speed up sync performance and avoid too many queries to LDAP. We do this through the use of a shared proxy object that will retain a list of members associated with a specific group.
The newer sync by filter option doesn't seem to use this cache. We should see if we can use the cache and match identical filters and avoid the same lookups multiple times. The customer in the Zendesk ticket above is using the same filter so several groups and sees many more requests to LDAP than expected.
Edited by 🤖 GitLab Bot 🤖