| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
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
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Remove "boards" from TOP_LEVEL_ROUTES
Closes #39073
See merge request gitlab-org/gitlab-ce!14861
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | | |
Add Gitlab::Git::Env.to_env_hash
See merge request gitlab-org/gitlab-ce!14841
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Conflict resolution refactor
See merge request gitlab-org/gitlab-ce!14747
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Having a distinct class just for that was a bit overkill
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Rename classes to (hopefully) clearer names while we're doing that.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This prepares the codebase for a Gitaly migration. See
https://gitlab.com/gitlab-org/gitaly/issues/553
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fix diff parser so it tolerates to diff special markers in the content
Closes #34431
See merge request gitlab-org/gitlab-ce!14848
|
| | |/ / / / /
| |/| | | | | |
|
| | | | | | | |
|
| | | | | | | |
|