Commit a7fde797 authored by Evan Read's avatar Evan Read

Merge branch 'ps-dist-reads-disabled' into 'master'

Disabling of reads distribution feature

See merge request gitlab-org/gitlab!43986
parents 27dcd278 5fa207e5
...@@ -943,16 +943,17 @@ cluster. ...@@ -943,16 +943,17 @@ cluster.
## Distributed reads ## Distributed reads
> - Introduced in GitLab 13.1 in [beta](https://about.gitlab.com/handbook/product/gitlab-the-product/#alpha-beta-ga) with feature flag `gitaly_distributed_reads` set to disabled. > - Introduced in GitLab 13.1 in [beta](https://about.gitlab.com/handbook/product/gitlab-the-product/#alpha-beta-ga) with feature flag `gitaly_distributed_reads` set to disabled.
> - [Made generally available](https://gitlab.com/gitlab-org/gitaly/-/issues/2951) in GitLab 13.3. > - [Made generally available and enabled by default](https://gitlab.com/gitlab-org/gitaly/-/issues/2951) in GitLab 13.3.
> - [Disabled by default](https://gitlab.com/gitlab-org/gitaly/-/issues/3178) in GitLab 13.5.
Praefect supports distribution of read operations across Gitaly nodes that are Praefect supports distribution of read operations across Gitaly nodes that are
configured for the virtual node. configured for the virtual node.
The feature is enabled by default. To disable distributed reads, the `gitaly_distributed_reads` The feature is disabled by default. To enable distributed reads, the `gitaly_distributed_reads`
[feature flag](../feature_flags.md) must be disabled in a Ruby console: [feature flag](../feature_flags.md) must be enabled in a Ruby console:
```ruby ```ruby
Feature.disable(:gitaly_distributed_reads) Feature.enable(:gitaly_distributed_reads)
``` ```
If enabled, all RPCs marked with `ACCESSOR` option like If enabled, all RPCs marked with `ACCESSOR` option like
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment