Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Merge requests
  • !318

Improvements for Job#retry

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/mixmaxhq/chuy/robust-job-retry into master Jul 06, 2016
  • Overview 2
  • Commits 4
  • Pipelines 0
  • Changes 3

Created by: xdc0

This PR makes some improvements on the current Job#retry implementation:

  • The retry operation is now implemented through a script, to follow suit with the other operations
  • The retry operation does several checks while attempting to retry a job:
    • It checks if the job exists, so that a non-existent job can be accidentally retried
    • It checks if the job is currently locked, to avoid possible corruption on job data
    • It checks if the job is actually failed, so it avoids retrying job that are in any other state that is not failed.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/mixmaxhq/chuy/robust-job-retry