diff options
author | Paul Okstad <pokstad@gitlab.com> | 2020-05-22 01:12:58 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2020-05-22 01:12:58 +0300 |
commit | 5b24bc1e54c5d4baf855dd819f8ece839adabed5 (patch) | |
tree | 9a6ebb5674a2137099001c21fe5c944b1bf649db | |
parent | c827ec74c3bbcb0e311e2dcbbd822019c7091aec (diff) | |
parent | 2cdc5ddb1c13cd2a965ba4e34494be5289940a73 (diff) |
Merge branch 'ps-fix-doc-dist-reads' into 'master'
Praefect: fix documentation about reads distribution
See merge request gitlab-org/gitaly!2205
-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" |