#5957 Improve performance of server role/attribute status fetching backend
Opened by mbabinsk. Modified

The recently pushed implementation of Server Roles does 2 LDAP searches per role. This greatly slows down commands such as ipa server-show since the backend must issue 10 LDAP searches to determine status of all roles and aggregate the result.

It should be possible to limit the LDAP searches to one per role type (we currently have two) plus one to fetch all master FQDNs when no hostname is specified. This alone could speed thing a bit and should definitely be investigated.


Metadata Update from @mbabinsk:
- Issue assigned to someone
- Issue set to the milestone: Ticket Backlog

Metadata Update from @rcritten:
- Issue close_status updated to: None
- Issue tagged with: performance

Metadata