Add BulkImports::ExportBatch & BulkImports::BatchTracker models
What does this MR do and why?
This MR adds BulkImports::ExportBatch & BulkImports::BatchTracker models to be used in GitLab Direct Transfer to export/import project/group relations in batches. They're currently not used anywhere and planned for usages in the future MR(s).
Main purpose:
-
ExportBatch- store a batch of 1000 rows for a particular relation export (e.g. first 1000 merge requests of a project) -
BatchTracker- keep track of state and perform import of a batch of relations, e.g. exported 1000 merge requests mentioned above
Mentions #391221 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by George Koltsov