| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
Fix missing issue assignees
Closes #39170
See merge request gitlab-org/gitlab-ce!15109
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Migrate Gitlab::Git::Wiki#delete_page to Gitaly
Closes gitaly#673
See merge request gitlab-org/gitlab-ce!14910
|
| |/
| |
| |
| | |
Closes gitaly#673
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Cache commits on the repository model
See merge request gitlab-org/gitlab-ce!14863
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now, when requesting a commit from the Repository model, the results are
not cached. This means we're fetching the same commit by oid multiple times
during the same request. To prevent us from doing this, we now cache
results. Caching is done only based on object id (aka SHA).
Given we cache on the Repository model, results are scoped to the
associated project, eventhough the change of two repositories having the
same oids for different commits is small.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Make local_branches OPT_OUT
See merge request gitlab-org/gitlab-ce!15045
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add path attribute to WikiFile class
Closes #39420
See merge request gitlab-org/gitlab-ce!15019
|
| |/ /
| | |
| | |
| | | |
Fixes #39420
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Move all rugged operation for ff_merge inside Gitlab::Git
Closes gitaly#683
See merge request gitlab-org/gitlab-ce!15011
|
| | |
| | |
| | |
| | | |
We also delete some unused code related to the aforementioned feature.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Support `Gitaly::User`'s gl_username field
See merge request gitlab-org/gitlab-ce!15016
|
| | |/
| |/|
| | |
| | |
| | | |
We also unify conversions from and to `Gitaly::User`s in the
`Gitlab::Git::User` class.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Memoize GitLab logger to reduce open file descriptors
Closes gitlab-ee#3664
See merge request gitlab-org/gitlab-ce!15007
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We see that in gitlab-org/gitlab-ee#3664 that if we log a lot of
data in Sidekiq workers, the number of open file descriptors
reaches over 1000. To avoid this, we can memoize the logger per
thread via RequestStore.
Closes gitlab-org/gitlab-ee#3664
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Circuitbreaker backoff and retries
Closes #37383 and #38231
See merge request gitlab-org/gitlab-ce!14933
|
| | | |
| | | |
| | | |
| | | | |
That way we can enable the circuitbreaker for just one host at a time.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of only checking once within a timeout, check multiple times
within a timeout.
That means with a timeout of 30 seconds and 3 retries. Each try would
be allowed 20 seconds.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The circuitbreaker now has 2 failure modes:
- Backing off: This will raise the `Gitlab::Git::Storage::Failing`
exception. Access to the shard is blocked temporarily.
- Circuit broken: This will raise the
`Gitlab::Git::Storage::CircuitBroken` exception. Access to the shard
will be blocked until the failures are reset.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Remove Sherlock usage from the performance bar
Closes #39351
See merge request gitlab-org/gitlab-ce!15000
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Sherlock::Query generates a backtrace on every call to "new", which is
very slow. Formatter queries are also not displayed properly due to the
lack of "white-space: pre" in the CSS. We took a look at fixing this,
but the produced output is not really better than just displaying
queries on one line.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39351
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Show Gitaly data in the peek performance bar
Closes #39231
See merge request gitlab-org/gitlab-ce!14949
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Use wiki.disk_path
See merge request gitlab-org/gitlab-ce!14930
|
| | |/
| |/| |
|
|/ /
| |
| |
| |
| |
| | |
They're costly. This will also avoid some edge cases where
charlock_holmes assigns a weird encoding to a perfectly valid UTF-8
string.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Migrate Gitlab::Git::Wiki#write_page to Gitaly
Closes gitaly#638
See merge request gitlab-org/gitlab-ce!14870
|
| |
| |
| |
| | |
Closes gitaly#638
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
SAML fix when auth hash attributes do not define groups
Closes #38923
See merge request gitlab-org/gitlab-ce!14913
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When there are no groups defined in the auth hash attributes,
`Gitlab::Saml::AuthHash#groups` should return an empty array, and
`Gitlab::Saml::User#find_user` should not mark the user as external.
Closes gitlab-org/gitlab-ce#38923.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Avoid using `Redis#keys`
See merge request gitlab-org/gitlab-ce!14889
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
This is already handled for diffs, but not commits.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Make the circuitbreaker configurable at runtime
See merge request gitlab-org/gitlab-ce!14842
|
| | | |
| | | |
| | | |
| | | | |
Instead of from the configuration file
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Show collapsible tree on the project show page
Closes #30343
See merge request gitlab-org/gitlab-ce!14055
|
| |\ \ \ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since it can technically merge any hash with objects that respond to `==`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Passing a parent_id will limit ancestors upto the specified parent if
it is found.
Using `ancestors` and `descendants` the `base` relation will not be included
|
| | | | | | |
|
| | | | | | |
|