Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Jul 24, 2019
    • Stan Hu's avatar
      Add Rugged calls to performance bar · 291df05e
      Stan Hu authored
      This will help diagnose the source of excessive I/O from Rugged
      calls. To implement this, we need to obtain the full list of arguments
      sent to each request method.
      291df05e
  3. Jul 18, 2019
    • Stan Hu's avatar
      Add Rugged calls and duration to API and Rails logs · 1136c0c8
      Stan Hu authored
      This adds `rugged_duration_ms` and `rugged_calls` fields to
      `api_json.log` and `production_json.log`. This will make it easier to
      identify performance issues caused by excessive I/O.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64676
      1136c0c8
    • Markus Koller's avatar
      Add start_sha to commits API · f8cecafb
      Markus Koller authored
      When passing start_branch on committing from the WebIDE, it's possible
      that the branch has changed since editing started, which results in the
      change being applied on top of the latest commit in the branch and
      overwriting the new changes.
      
      By passing the start_sha instead we can make sure that the change is
      applied on top of the commit which the user started editing from.
      Unverified
      f8cecafb
  4. Jul 17, 2019
  5. Jul 16, 2019
  6. Jul 10, 2019
  7. Jul 05, 2019
  8. Jun 27, 2019
  9. Jun 25, 2019
  10. Jun 19, 2019
  11. Jun 05, 2019
  12. May 30, 2019
  13. May 20, 2019
  14. May 14, 2019
    • John Cai's avatar
      Omit max-count for diverging_commit_counts behind feature flag · f86797b5
      John Cai authored
      We want to optimize the query for the CountDivergingCommits rpc by
      removing the --max-count argument now that we have commit graphs
      enabled for all repositories during housekeeping. However, we want to
      test this first behind a feature flag.
      f86797b5
  15. May 06, 2019
  16. May 05, 2019
  17. May 03, 2019
  18. May 02, 2019
    • Luke Duncalfe's avatar
      Add support for two-step Gitaly Rebase RPC · 49cb4b3d
      Luke Duncalfe authored and Douwe Maan's avatar Douwe Maan committed
      The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the
      client before proceeding with the rebase.
      
      This avoids an issue where the rebase commit SHA was returned when the
      RPC had fully completed, and in some cases this would be after the Rails
      `post_receive` worker services had already run. In these situations,
      the merge request did not yet have its rebase_commit_sha attribute set
      introducing the possibility for bugs (such as previous approvals being
      reset).
      
      https://gitlab.com/gitlab-org/gitlab-ee/issues/5966
      49cb4b3d
  19. Apr 30, 2019
    • John Cai's avatar
      Add client methods for FetchIntoObjectPool RPC · 5ee78765
      John Cai authored
      Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an
      object pool. If the pool doesn't exist, it will create an empty pool
      before attempting the fetch. This change adds client code as well as
      specs to cover this behavior.
      5ee78765
  20. Apr 29, 2019
  21. Apr 25, 2019
    • Francisco Javier López's avatar
      Added list_pages method to avoid loading all wiki pages content · dde69bfb
      Francisco Javier López authored
      Inside a wiki, when we show the sidebar or browse to the `pages`,
      all page contents are retrieved from Gitaly and that is a waste
      of resources, since no content from that pages are going to be
      showed.
      
      This MR introduces the method `ProjectWiki#list_pages`,
      which uses new wiki_list_pages RPC call to retrieve
      pages without content
      
      Also in the `WikisController` we're using the method to show
      pages in the sidebar and also on the `pages` page.
      dde69bfb
  22. Apr 19, 2019
  23. Apr 17, 2019
  24. Apr 16, 2019
  25. Apr 11, 2019
  26. Apr 10, 2019
  27. Apr 04, 2019
  28. Apr 02, 2019
  29. Apr 01, 2019
  30. Mar 26, 2019
  31. Mar 21, 2019
    • Luke Duncalfe's avatar
      Enrich commits with full data in CommitCollection · 38bf176c
      Luke Duncalfe authored
      Allow incomplete commit records to load their full data from gitaly.
      
      Commits can be based on a Hash of data retrieved from PostgreSQL, and
      this data can be intentionally incomplete in order to save space.
      
      A new method #gitaly? has been added to Gitlab::Git::Commit, which
      returns true if the underlying data source of the Commit is a
      Gitaly::GitCommit.
      
      CommitCollection now has a method #enrich which replaces non-gitaly
      commits in place with commits from gitaly.
      
      CommitCollection#without_merge_commits has been updated to call this
      method, as in order to determine a merge commit we need to have parent
      data.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58805
      38bf176c
    • Sean McGivern's avatar
      Revert "Merge branch... · a97ec84f
      Sean McGivern authored
      Revert "Merge branch '58805-allow-incomplete-commit-data-to-be-fetched-from-collection' into 'master'"
      
      This reverts merge request !26144
      a97ec84f
  32. Mar 19, 2019
  33. Mar 18, 2019
    • Luke Duncalfe's avatar
      Enrich commits with full data in CommitCollection · 8ef0a9d5
      Luke Duncalfe authored
      Allow incomplete commit records to load their full data from gitaly.
      
      Commits can be based on a Hash of data retrieved from PostgreSQL, and
      this data can be intentionally incomplete in order to save space.
      
      A new method #gitaly? has been added to Gitlab::Git::Commit, which
      returns true if the underlying data source of the Commit is a
      Gitaly::GitCommit.
      
      CommitCollection now has a method #enrich which replaces non-gitaly
      commits in place with commits from gitaly.
      
      CommitCollection#without_merge_commits has been updated to call this
      method, as in order to determine a merge commit we need to have parent
      data.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58805
      8ef0a9d5
  34. Mar 12, 2019
Loading