1. 19.08.2019 23 коммита
  2. 17.08.2019 8 коммитов
  3. 16.08.2019 9 коммитов
    • Stan Hu's avatar
      Merge branch '66023-starrers-count-do-not-match-after-searching' into 'master'
      · 2dcb69c9
      Stan Hu создал
      Fix starrers counts after searching
      
      See merge request gitlab-org/gitlab-ce!31823
      2dcb69c9
    • Stan Hu's avatar
      Merge branch 'dm-process-commit-worker-n+1' into 'master'
      · 971e040c
      Stan Hu создал
      Look up upstream commits once before queuing ProcessCommitWorkers
      
      Closes #65464
      
      See merge request gitlab-org/gitlab-ce!31871
      971e040c
    • Mayra Cabrera's avatar
      Merge branch 'optimize-note-indexes' into 'master'
      · 504ed1c4
      Mayra Cabrera создал
      Optimize DB indexes for ES indexing of notes
      
      See merge request gitlab-org/gitlab-ce!31846
      504ed1c4
    • Douwe Maan's avatar
      Merge branch 'sh-post-receive-cache-clear-once' into 'master'
      · b0a230da
      Douwe Maan создал
      Expire project caches once per push instead of once per ref
      
      Closes #52046
      
      See merge request gitlab-org/gitlab-ce!31876
      b0a230da
    • Stan Hu's avatar
      Expire project caches once per push instead of once per ref
      · f14647fd
      Stan Hu создал
      Previously `ProjectCacheWorker` would be scheduled once per ref, which
      would generate unnecessary I/O and load on Sidekiq, especially if many
      tags or branches were pushed at once. `ProjectCacheWorker` would expire
      three items:
      
      1. Repository size: This only needs to be updated once per push.
      2. Commit count: This only needs to be updated if the default branch
         is updated.
      3. Project method caches: This only needs to be updated if the default
         branch changes, but only if certain files change (e.g. README,
         CHANGELOG, etc.).
      
      Because the third item requires looking at the actual changes in the
      commit deltas, we schedule one `ProjectCacheWorker` to handle the first
      two cases, and schedule a separate `ProjectCacheWorker` for the third
      case if it is needed. As a result, this brings down the number of
      `ProjectCacheWorker` jobs from N to 2.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52046
      f14647fd
    • Mayra Cabrera's avatar
      Merge branch 'sh-fix-arel-deprecation-join' into 'master'
      · b3145bc9
      Mayra Cabrera создал
      Fix Arel deprecation warning in clusters_hierarchy
      
      See merge request gitlab-org/gitlab-ce!31916
      b3145bc9
    • Markus Koller's avatar
      Optimize DB indexes for ES indexing of notes
      · a3e71610
      Markus Koller создал
      To index notes, we exclude system notes and use `find_in_batches` to
      load them in batches for submission to the ES bulk import API.
      These queries often result in DB timeouts because the usage of
      `ORDER BY id` results in the `notes_pkey` index being used.
      
      This adds an optimized partial index, and removes the unused index
      `index_notes_on_noteable_type` which is already covered for our
      usage by the existing `index_notes_on_noteable_id_and_noteable_type`.
      
      Newer versions of PostgreSQL (at least 11) are smarter about this and
      use `index_notes_on_project_id_and_noteable_type` instead, so we might
      be able to remove the partial index again in the future.
      a3e71610
    • Douwe Maan's avatar
      Look up upstream commits once before queuing ProcessCommitWorkers
      · 97c2564f
      Douwe Maan создал
      Instead of checking if a commit already exists in the upstream project
      in its ProcessCommitWorker and bailing out if it does, we check the
      existence of all commits in bulk in Git::BranchHooksService, so that we
      can skip scheduling ProcessCommitWorker jobs for those commits
      that already exist upstream entirely.
      97c2564f
    • Stan Hu's avatar
      Merge branch 'rf-remove-group-overview-security-dashboard-feature-flag' into 'master'
      · b7f191c5
      Stan Hu создал
      Remove Security Dashboard feature flag
      
      See merge request gitlab-org/gitlab-ce!31820
      b7f191c5