[go: up one dir, main page]

Skip to content

Intermittent 500 Error When Searching Merge Requests

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

  • A customer reported encountering 500 errors when searching Merge Requests on GitLab.com
  • In their tests, the issue only seems to occur when their search term has 3 or more words e.g. "company logo upload" vs "company logo"
  • This doesn't affect all users, so it's hard to reproduce, but Sentry has an error log
  • Kibana and Sentry show that some users are experiencing this intermittently
  • Sentry error - https://new-sentry.gitlab.net/organizations/gitlab/issues/666886/

Steps to reproduce

  1. Go to Merge requests on a project
  2. Search for text in the title of one of the MRs, make sure your search string incudes a minimum of 3 words

Example Project

What is the current bug behavior?

A 500 Error gets thrown

What is the expected correct behavior?

  1. Results matching the search term get displayed OR
  2. A message is displayed indicating that the filter produced no results

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Customers

Customers

customer contact
https://gitlab.zendesk.com/agent/tickets/513023 @lalabi
Edited by 🤖 GitLab Bot 🤖