Skip to content

GitLab Next

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 42,635
    • Issues 42,635
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,398
    • Merge requests 1,398
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • GitLab.org
  • GitLabGitLab
  • Merge requests
  • !3117
Project 'gitlab-org/gitlab-ee' was moved to 'gitlab-org/gitlab'. Please update any links and bookmarks that may still have the old path.
Merged
Created Oct 11, 2017 by Tiago Botelho@tiagonbotelhoContributor7 of 14 tasks completed7/14 tasks
  • Review changes

  • Download
  • Email patches
  • Plain diff

Add maximum retry count migration and related logic

  • Overview 172
  • Commits 2
  • Pipelines 63
  • Changes 22

Tasklist

  • Add maximum retry count column to application settings
  • Add new import_status called hard_failed
  • Change the status to hard_failed when mirror failed too many times already.

Flow description

  • Mirror fails 14+ times in a row
  • Gets marked as hard_failed
  • Two messages become visible on the project interface requesting action to be taken by the user
  • User can either:
    • force the update and retry the cycle again
    • change the import_url which will force an update to happen

Future prospects

  • project admins will receive an email requesting action to be taken on the project
  • mirror retry count will become adaptive and it will be based on the backoff lower bound which will become configurable instead of a fixed number

Screenshots

Screen_Shot_2017-11-03_at_20.06.30

Screen_Shot_2017-11-03_at_20.05.53

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Documentation created/updated
  • API support added
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by UX
    • Has been reviewed by Frontend
    • Has been reviewed by Backend
    • Has been reviewed by Database
  • Conform by the merge request performance guides
  • Conform by the style guides
  • Squashed related commits together

What are the relevant issue numbers?

Closes #2831 and https://gitlab.com/gitlab-org/gitlab-ce/issues/33872

Edited Nov 07, 2017 by Douwe Maan
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 2831-hard-fail-mirror-when-retry-count-number-exceeds-the-limit