BigW Consortium Gitlab

  1. 24 Aug, 2016 1 commit
  2. 19 Aug, 2016 1 commit
  3. 18 Aug, 2016 1 commit
  4. 17 Aug, 2016 1 commit
    • Tracking of custom events · d345591f
      Yorick Peterse authored
      GitLab Performance Monitoring is now able to track custom events not
      directly related to application performance. These events include the
      number of tags pushed, repositories created, builds registered, etc.
      
      The use of these events is to get a better overview of how a GitLab
      instance is used and how that may affect performance. For example, a
      large number of Git pushes may have a negative impact on the underlying
      storage engine.
      
      Events are stored in the "events" measurement and are not prefixed with
      "rails_" or "sidekiq_", this makes it easier to query events with the
      same name triggered from different parts of the application. All events
      being stored in the same measurement also makes it easier to downsample
      data.
      
      Currently the following events are tracked:
      
      * Creating repositories
      * Removing repositories
      * Changing the default branch of a repository
      * Pushing a new tag
      * Removing an existing tag
      * Pushing a commit (along with the branch being pushed to)
      * Pushing a new branch
      * Removing an existing branch
      * Importing a repository (along with the URL we're importing)
      * Forking a repository (along with the source/target path)
      * CI builds registered (and when no build could be found)
      * CI builds being updated
      * Rails and Sidekiq exceptions
      
      Fixes gitlab-org/gitlab-ce#13720
  5. 11 Aug, 2016 1 commit
    • Fix bug where destroying a namespace would not always destroy projects · cb8a425b
      Stan Hu authored
      There is a race condition in DestroyGroupService now that projects are deleted asynchronously:
      
      1. User attempts to delete group
      2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project
      3. DestroyGroupService destroys the Group, leaving all its projects without a namespace
      4. Projects::DestroyService runs later but the can?(current_user,
         :remove_project) is `false` because the user no longer has permission to
         destroy projects with no namespace.
      5. This leaves the project in pending_delete state with no namespace/group.
      
      Projects without a namespace or group also adds another problem: it's not possible to destroy the container
      registry tags, since container_registry_path_with_namespace is the wrong value.
      
      The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService.
      
      Closes #17893
  6. 09 Aug, 2016 1 commit
  7. 07 Aug, 2016 1 commit
  8. 05 Aug, 2016 1 commit
  9. 04 Aug, 2016 4 commits
  10. 03 Aug, 2016 4 commits
  11. 26 Jul, 2016 2 commits
  12. 21 Jul, 2016 2 commits
  13. 18 Jul, 2016 1 commit
  14. 13 Jul, 2016 1 commit
  15. 12 Jul, 2016 1 commit
    • Expire the branch cache after `git gc` runs · 3dc6bf2b
      Stan Hu authored
      Due to a stale NFS cache, it's possible that a branch lookup fails
      while `git gc` is running and causes missing branches in merge requests.
      
      Possible workaround for #15392
  16. 06 Jul, 2016 1 commit
  17. 30 Jun, 2016 1 commit
  18. 16 Jun, 2016 2 commits
  19. 15 Jun, 2016 4 commits
  20. 14 Jun, 2016 4 commits
  21. 13 Jun, 2016 3 commits
  22. 12 Jun, 2016 1 commit
  23. 03 Jun, 2016 1 commit