Reduce query count on GraphQL user.groups field
Follow up on #26732 (closed)
paginatable_namespace_drop_down_for_project_creation
feature flag was disable after finding high DB query counts on production logs.
Might be related to N+1. The problem should be fixed before enabling the feature flag by default.
paginatable_namespace_drop_down_for_project_creation
enabled)
Query to reproduce the issue (with FF {
currentUser {
groups(permissionScope: CREATE_PROJECTS) {
nodes {
fullPath
path
name
webUrl
}
}
}
}
Edited by Mario Celi