diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2020-05-14 18:55:51 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2020-05-18 15:16:47 +0300 |
commit | 794a04d9e7230ac583b55a4205b3cbe85f60292b (patch) | |
tree | f3b296b4853adeb68959c5f0e9c5ab510756c81e /config.praefect.toml.example | |
parent | 69493a692e4173b8cfc59b56b218efe32a2ebca4 (diff) |
Replace read-only feature flag with a config toggle
Removes the feature-flag controlling read-only enforcement. The
feature flag only controlled enforcement in RPCs, making future
upgrades more difficult as some storages could already be in
read-only mode when the feature flag is removed. The feature flag
is replaced with a config toggle that also controls whether the
storages should be set read-only on a failover.
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r-- | config.praefect.toml.example | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example index 534f9b9a2..cec16030a 100644 --- a/config.praefect.toml.example +++ b/config.praefect.toml.example @@ -29,6 +29,7 @@ listen_addr = "127.0.0.1:2305" [failover] enabled = true election_strategy = "local" # Options: local, sql +read_only_after_failover = false # Switch the virtual storage to read-only mode after after a failover. [[virtual_storage]] name = 'praefect' |