Skip to content
Snippets Groups Projects

'created_at DESC' is performed twice

Merged username-removed-171518 requested to merge catatsuy/gitlab-ce:feature/recent_order into master

If you are already sorting in descending order in the created_at, it is run twice when you run the .recent.

It has passed in the string 'created_at DESC'.
Ruby on Rails is directly given to the SQL.
It is a slow query in MySQL.

Merge request reports

Pipeline #57841 failed

Pipeline failed on catatsuy:feature/recent_order

Merged by avatar (Apr 6, 2025 12:14am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading