Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !578

[webrunner]: use latest key in equeue.db to get last backup date

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Thomas Gambier requested to merge tomo_fix_backup_date into master Jun 18, 2019
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 2

in some webrunner, there are 2 keys in equeue.db:

>>> print(db.keys())
['/srv/slapgrid/slappart18/bin//runner-importer', '/srv/slapgrid/slappart18/bin/runner-importer']

We suppose that the 2nd key was used after the first key so we take the timestamp of the last key.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tomo_fix_backup_date
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7