Comment 1 for bug 1301340

Revision history for this message
Phil Day (philip-day) wrote :

I don't think its just a question of removing duplicated code - doing any DB queries in a filter (like looking up aggregate membership for a host) is a major performance issue at scale as the filter is run once per host.

The aggregate information should be extracted by the host manager and passed into the filters as part of the host state