Skip to content

Reduce complexity of issuable finder query.

Andreas Brandl requested to merge ab-37125-assigned-issues-query into master

What does this MR do?

This change removes a subquery from IssuableFinder that is not needed because it's redundant. This improves planning time (and execution time for some cases) for e.g. User#assigned_open_issues_count and User#assigned_open_merge_requests_count.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/37125

Possibly also https://gitlab.com/gitlab-org/gitlab-ce/issues/37126

Edited by Yorick Peterse

Merge request reports