An error occurred fetching the project authors.
  1. 25 Sep, 2017 3 commits
  2. 22 Sep, 2017 6 commits
  3. 21 Sep, 2017 8 commits
  4. 20 Sep, 2017 2 commits
  5. 19 Sep, 2017 6 commits
  6. 18 Sep, 2017 12 commits
  7. 15 Sep, 2017 3 commits
    • Yorick Peterse's avatar
      Fix setting share_with_group_lock · ac702af8
      Yorick Peterse authored
      Prior to this commit running
      Namespace#force_share_with_group_lock_on_descendants would result in
      updating _all_ namespaces in the namespaces table, not just the
      descendants. This is the result of ActiveRecord::Relation#update_all not
      taking into account the CTE. To work around this we use the CTE query as
      a sub-query instead of directly calling #update_all.
      
      To prevent this from happening the relations returned by
      Gitlab::GroupHierarchy are now marked as read-only, resulting in an
      error being raised when methods such as #update_all are used.
      
      Fortunately on GitLab.com our statement timeouts appear to have
      prevented this query from actually doing any damage other than causing
      a very large amount of dead tuples.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37916
      ac702af8
    • Jacob Vosmaer's avatar
      4f289eb5
    • Jacob Vosmaer's avatar
      Rename Gitlab::Git::Committer to User · 427de23f
      Jacob Vosmaer authored
      427de23f