Projects::BlameController#show Gitaly n+1

Projects::BlameController#show has a Gitaly n+1 issue leading to up to several thousand Gitaly requests per request to this endpoint.

Examples: https://log.gitlab.net/goto/a31b0b722e5d7891ed52b9bd5cd41ccb

The n+1 is in /gitaly.BlobService/GetBlobs:

image

Assignee Loading
Time tracking Loading