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
  • !186

Correct order delay

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/evanhuang8/correct_order_delay into correct_order_delay Sep 25, 2015
  • Overview 9
  • Commits 20
  • Pipelines 0
  • Changes 9

Created by: evanhuang8

Expanding on the concept of using 21 bits of the timestamp to store jobId to achieve FIFO behavior, I fixed the errors with the lua script.

Also updated the timestamp for the delay timer to avoid it being set to something in the past, fixes #180 (closed)

I tried to add a test for the FIFO behavior when jobs are scheduled at the exact timestamp, however, the test fails. I am not sure if the test is flawed or that the solution for the FIFO behavior doesn't work, so if you can take a look that will be great. Maybe it has to do with the loss of precision when numbers are converted?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/evanhuang8/correct_order_delay