Age | Commit message (Collapse) | Author |
|
|
|
hooks up node manager to praefect's coordinator
|
|
Enable toggling on the node manager through a config value
See merge request gitlab-org/gitaly!1803
|
|
To enable feature flag toggling in node manager, have a set of shards
that is not monitored and stays static. When an incoming request has the
feature flag, it will get directed to the version that does failover.
If it does not have the feature flag, it will get directed to the
primary as though the node manager did nothing.
|
|
Support of basic interaction with Postgres database
See merge request gitlab-org/gitaly!1768
|
|
Logging of repository objects statistics after repack
Closes #2059
See merge request gitlab-org/gitaly!1800
|
|
To get more visibility on the state of the repositories
after each repack we log statistics about objects.
The source of it is standard 'git count-objects' command.
It could be found by 'git repo statistic' message under
'count-objects' key in the logs.
Closes: https://gitlab.com/gitlab-org/gitaly/issues/2059
|
|
Remove deprecation warning for ActiveSupport
See merge request gitlab-org/gitaly!1809
|
|
|
|
Incorrect changelogs should be caught by Danger
See merge request gitlab-org/gitaly!1811
|
|
|
|
Fix YAML changelog entry string title
See merge request gitlab-org/gitaly!1810
|
|
|
|
Remove unused rubyserver in structs
See merge request gitlab-org/gitaly!1807
|
|
|
|
The rubyserver was embedded in some of the service structs as they used
to proxy to Ruby. Now this is not always the case, and these structs can
be cleaned up a bit.
|
|
New task and job to run Postgres database related tests.
Basic helper functions to make SQL operations easy to use.
Refactoring of sub-commands dependent to SQL.
Part of: https://gitlab.com/gitlab-org/gitaly/issues/2166
|
|
Use golangci-lint for static code analysis
Closes #2253
See merge request gitlab-org/gitaly!1722
|
|
New job 'lint' added to 'test' stage to perform static code analysis
using a common approach with golangci-lint tool described at
https://docs.gitlab.com/ee/development/go_guide/#automatic-linting
Closes: https://gitlab.com/gitlab-org/gitaly/issues/2253
|
|
Refactor context feature flag helpers
See merge request gitlab-org/gitaly!1802
|
|
|
|
Cache and reuse client connection in ReplicateRepository
Closes #2425
See merge request gitlab-org/gitaly!1801
|
|
instead of creating a new client connection with every call, reuse an
existing connection.
|
|
Reenable git wire protocol v2 behind feature flag
See merge request gitlab-org/gitaly!1797
|
|
|
|
Support FindCommitsRequest with order (--topo-order)
Closes #2240
See merge request gitlab-org/gitaly!1791
|
|
Implement FindCommitsRequest with order argument to find commits
using git log --topo-order.
|
|
Add grpc tag interceptor
See merge request gitlab-org/gitaly!1795
|
|
UpdateRemoteMirror: handle large number of branches
Closes #1878
See merge request gitlab-org/gitaly!1745
|
|
|
|
Update activesupport, gitlab-labkit, and other Ruby dependencies
See merge request gitlab-org/gitaly!1794
|
|
simplify praefect routing to primary and replication nodes
See merge request gitlab-org/gitaly!1760
|
|
|
|
This matches the versions that GitLab CE/EE uses after updating to Rails
6.0.2. This is done to save a little space on Omnibus and to ensure the
behavior of gitaly-ruby is consistent with the Rails code base.
|
|
Add deadline_type prometheus label
See merge request gitlab-org/gitaly!1737
|
|
simplify praefect routing to no longer track primary and replicas per
repository. This overly complicates things and we only really need to
know which replicas are were, which we already have through the
replication jobs.
|
|
Validate bad branches for UserRebase and UserRebaseConfirmable
Closes #1654
See merge request gitlab-org/gitaly!1735
|
|
PostReceiveHook: add support for Git push options
Closes #2358
See merge request gitlab-org/gitaly!1756
|
|
Fix cache walker to only walk each path once
See merge request gitlab-org/gitaly!1769
|
|
|
|
Add end to end test for git hooks including git push options
See merge request gitlab-org/gitaly!1790
|
|
|
|
Adds a field for git push options
|
|
Add Node manager
Closes #2266
See merge request gitlab-org/gitaly!1779
|
|
Node manager is a new component that will simplify praefect routing. It
takes care of pinging the nodes and promoting a secondary to a primary
and demoting a primary to a secondary based on service health from
sending healthcheck requests.
|
|
Adds tests to exercise git push options. Also gets rid of the fallback
path in the git hooks shell executable
|
|
This adds the `deadline_type` prometheus label to the counters from
`go-grpc-prometheus`. The possible values for `deadline_type` are,
`none`, `unknown`, `limited` and `regular`:
- `none`: is set when there is no deadline on the context.
- `unknown`: the default value, this is used when the `deadline_type`
was not included in the headers but a deadline was set
- `limited`: is set when the deadline was shorter than what is
configured. For example when the deadline would exceed the worker
timeout
- `regular`: is set when the deadline is what was configured for the
call in GitLab's settings
|
|
|
|
Add praefect as a transparent pass through for tests
Closes #2122
See merge request gitlab-org/gitaly!1736
|
|
|