Commit 0cf81a17 authored by Nick Thomas's avatar Nick Thomas

Merge branch '5513-geo-high-number-of-sequential-scans-in-project_repository_states' into 'master'

Resolve "Geo: High number of sequential scans in project_repository_states"

Closes #5513

See merge request gitlab-org/gitlab-ee!5348
parents 70e7f7b6 e3eb20ea
......@@ -62,7 +62,7 @@ module Geo
end
def repository_never_verified
repository_state_table[:id].eq(nil)
repository_state_table[:project_id].eq(nil)
end
def last_repository_updated_at_asc
......
---
title: Geo - Improve the query performance to find unverified projects on primary
node
merge_request: 5348
author:
type: performance
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment