Skip to content

Re-enable allowing n+1 Gitaly for branches index

Lin Jen-Shin requested to merge 44861-mark-gitaly-nplus-one-again into master

What does this MR do?

Re-enable allowing n+1 Gitaly for branches index

Why was this MR needed?

Because there's still n+1 queries when the cache is cold. I added a test which should catch this.

Does this MR meet the acceptance criteria?

  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

What are the relevant issue numbers?

Closes #44861 (closed)

@rymai Please review? Thanks!

/cc @tnir @andrewn

Merge request reports