Follow-up from "Introduce parallelised BitBucket Server Importer"
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=412327) </details> <!--IssueSummary end--> The following discussion from !120931 should be addressed: - [ ] @.luke started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120931#note_1396953279): > **Suggestion (not blocking)** > > As a follow-up we should look at whether we can make any or all of these `Stage`-namespaced workers idempotent. > > For example in this worker, it looks like `Project#after_import` is already idempotent. But `Gitlab::Import::Metrics#track_finished_import` may not be. Perhaps either in that method, or in this worker, we could check the project import state to make sure it's not already finished.
issue