API call to get merge request associated with the commit is giving HTTP 500
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
NOTE: We're not currently working this issue because there is other ongoing work which may improve this. We'll revisit once that work has been completed.
Summary
The API endpoint uses a database query which needs to be optimized as it sometimes times out and gives 500 status.
Steps to reproduce
This is not reproducible always but a bigger chance of reproducing by hitting the API endpoint between 11:00AM and 12:00PM CST.
What is the current bug behavior?
API call returns 500 status due to query timing out.
What is the expected correct behavior?
API call should return results successfully.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by 🤖 GitLab Bot 🤖