[go: up one dir, main page]

Skip to content

Add exponential backoff when fetching ndjson relation export status

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Currently whenever we run GitLab Direct Transfer, for each entity (project/group) and for each of it's relations (issues/labels/pipelines/etc) we request relations export from Source instance and wait for export to complete before performing import.

If said Source relations export for each relation is not completed when we check, we reenqueue the job and re-try every 10 seconds. Since we have a lot of relation types this can produce bursts in network requests for source instance.

Instead, we should re-try in a more exponential manner, increasing the wait time before checking if the export finished.

Edited by 🤖 GitLab Bot 🤖