diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-05-21 18:48:53 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-05-21 18:48:53 +0300 |
commit | 2cdc5ddb1c13cd2a965ba4e34494be5289940a73 (patch) | |
tree | d535ddc41d4638f1942513c20f330256be6950fb | |
parent | 322d655cd74069953839ad7847e8e81e5c93d237 (diff) |
Praefect: fix documentation about reads distribution
The reads distribution feature depends on the `distributed_reads`
feature flag, so there is no `distributed_reads_enabled`
configuration parameter anymore.
-rw-r--r-- | doc/design_ha.md | 2 | ||||
-rw-r--r-- | internal/praefect/config/testdata/config.toml | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/doc/design_ha.md b/doc/design_ha.md index 1c6be63c2..70af30a36 100644 --- a/doc/design_ha.md +++ b/doc/design_ha.md @@ -192,7 +192,7 @@ to solve the data loss cases. ### Distribution of reads Praefect supports distribution of read operations across Gitaly nodes that are configured for the virtual node. -You can enable this feature with `distributed_reads_enabled = true` (disabled by default) in your configuration file. +You can enable this feature with with `distributed_reads` feature flag (disabled by default). That means that RPCs marked with `ACCESSOR` option like [GetBlob](https://gitlab.com/gitlab-org/gitaly/-/blob/v12.10.6/proto/blob.proto#L16) will be redirected to the one of the up to date Gitaly nodes. diff --git a/internal/praefect/config/testdata/config.toml b/internal/praefect/config/testdata/config.toml index a11918cb0..0ed72932e 100644 --- a/internal/praefect/config/testdata/config.toml +++ b/internal/praefect/config/testdata/config.toml @@ -2,7 +2,6 @@ listen_addr = "" socket_path = "" prometheus_listen_addr = "" memory_queue_enabled = true -distributed_reads_enabled = true [logging] format = "json" |