Move batching from AR query to oids array
What does this MR do?
Fix performance issues linking known LFS objects to imported projects by batching against the array of oids
rather than batching the results of the ActiveRecord query.
We've also reduced the number of overall queries for doing this.
To safeguard against downtime, we've added an overall limit against the maximum number of objects that can be imported.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
Edited by Bob Van Landuyt