Skip to content

Invert viewing groups filter

If TestJob access is rarely restricted by assigned viewing groups it is beneficial to reduce size of query sets scanned in the LAVA database when applying access permissions filters. This can be achieved by inverting filter conditions.

Using this approach on a database with e.g. 5% of all TestJobs having assigned viewing groups can reduce total execution time significantly.

Related: #517 Signed-off-by: Paweł Wieczorek pawiecz@collabora.com

Merge request reports