Change BitBucket Pull Request Import to a Batch Process
requested to merge s.schrottner/gitlab:Change-BitBucket-Pull-Request-Import-to-a-Batched-Process into master
What does this MR do?
As BitBucket importer tried to fetch all Pull Requests upfront, before importing it, the memory consumption got very high. So high, that bigger projects could never be imported fully, as they had too many Pull Requests.
This change should reduce the amount of occupied memory, as the Pull Requests are now fetched and imported in a batch of 100. As it used to be done before hand, for creating pull request branches.
relates to #23586 (closed)
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
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Simon Schrottner