Make register job service to be resillient
What does this MR do?
Make scheduler to be resilient to data integrity issues: https://gitlab.com/gitlab-org/gitlab/issues/34897.
This prevents the problem as https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/8262 https://gitlab.com/gitlab-org/gitlab/issues/34897.
The scheduler failure is considered retry able, and by default it is retried 2 extra times.
Does this MR meet the acceptance criteria?
Conformity
Edited by Kamil Trzciński (Back 2025-01-01)