Commit 05addc7f authored by Evan Read's avatar Evan Read

Merge branch 'ps-distributed-reads-enabled' into 'master'

Doc: distributed reads enabled by default

See merge request gitlab-org/gitlab!39567
parents f37a26db 5aede2c6
...@@ -940,19 +940,14 @@ cluster. ...@@ -940,19 +940,14 @@ 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.
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.
To allow for [performance testing](https://gitlab.com/gitlab-org/quality/performance/-/issues/231), The feature is enabled by default. To disable distributed reads, the `gitaly_distributed_reads`
distributed reads are currently in [feature flag](../feature_flags.md) must be disabled in a Ruby console:
[beta](https://about.gitlab.com/handbook/product/gitlab-the-product/#alpha-beta-ga) and disabled by
default. To enable distributed reads, the `gitaly_distributed_reads`
[feature flag](../feature_flags.md) must be enabled in a Ruby console:
```ruby ```ruby
Feature.enable(:gitaly_distributed_reads) Feature.disable(: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