Skip to content
Snippets Groups Projects

Ensure atomicity for lastsync file

Merged pita strudl requested to merge pitastrudl/infrastructure:master into master

This should take care of having empty lastsync files being served. Possible cause is that the IO is stuck thus taking several seconds to write the lastsync timestamp. This causes mirrors to download the empty file which causes checks to fail.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • pita strudl added 2 commits

    added 2 commits

    • d42dfd49 - Revert "Ignore lastsync.tmp file for syncing"
    • d6899989 - Ignore lastsync.tmp file for syncing all across

    Compare with previous version

  • Author Contributor

    Reverted the previous change and added ignores on all other sections. I was thinking of adding a single exclude at the top but I am guessing the other excludes overwrite the first stated one. If I put it in the right places and there is no cleaner way to do it, that should be it.

  • pita strudl added 151 commits

    added 151 commits

    • d6899989...d49c0b12 - 150 commits from branch archlinux:master
    • c24020a2 - Merge branch 'master' of https://gitlab.archlinux.org/archlinux/infrastructure

    Compare with previous version

  • pita strudl added 1 commit

    added 1 commit

    • 2e3724fc - 1 commit from branch archlinux:master

    Compare with previous version

  • pita strudl added 1 commit

    added 1 commit

    • d8337b0f - dbscripts: Ensure atomicity of lastsync file

    Compare with previous version

  • Author Contributor

    I've cleaned up the commits into one more nicer commit. I assume removing mention of "User=ftp" in the systemd service will run systemd service as root by default.

  • pita strudl resolved all threads

    resolved all threads

  • pita strudl added 11 commits

    added 11 commits

    Compare with previous version

  • pita strudl added 4 commits

    added 4 commits

    Compare with previous version

  • pita strudl added 5 commits

    added 5 commits

    Compare with previous version

  • pita strudl added 1 commit

    added 1 commit

    • a645fa37 - dbscripts: Ensure atomicity of lastsync file

    Compare with previous version

  • pita strudl added 18 commits

    added 18 commits

    Compare with previous version

  • pita strudl resolved all threads

    resolved all threads

  • pita strudl added 1 commit

    added 1 commit

    • 7e118edd - dbscripts: Ensure atomicity of lastsync file

    Compare with previous version

  • pita strudl added 1 commit

    added 1 commit

    • 84d3567a - dbscripts: Ensure atomicity of lastsync file

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading