backport of commit 3df12006c0 (#22382)

Co-authored-by: ashishhcpgit <95898616+ashishhcpgit@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-08-16 16:19:20 -04:00
committed by GitHub
parent e8a77599a8
commit 702c80d279

View File

@@ -52,19 +52,21 @@ set [`disable_mlock`](/vault/docs/configuration#disable_mlock) to `true`, and to
This value can be overridden by setting the `VAULT_RAFT_NODE_ID` environment variable. This value can be overridden by setting the `VAULT_RAFT_NODE_ID` environment variable.
- `performance_multiplier` `(integer: 0)` - An integer multiplier used by - `performance_multiplier` `(integer: 0)` - An integer multiplier used by
servers to scale key Raft timing parameters. Tuning this affects the time it servers to scale key Raft timing parameters, where each increment translates to approximately 1 2 seconds of delay. For example, setting the multiplier to "3" translates to 3 6 seconds of total delay. Tuning the multiplier affects the time it
takes Vault to detect leader failures and to perform leader elections, at the takes Vault to detect leader failures and to perform leader elections, at the
expense of requiring more network and CPU resources for better performance. expense of requiring more network and CPU resources for better performance.
Omitting this value or setting it to 0 uses default timing described below. Omitting this value or setting it to 0 uses default timing described below.
Lower values are used to tighten timing and increase sensitivity while higher Lower values are used to tighten timing and increase sensitivity while higher
values relax timings and reduce sensitivity. values relax timings and reduce sensitivity.
By default, Vault will use a lower-performance timing that's suitable for
minimal Vault servers, currently equivalent to setting this to a value of 5 By default, Vault uses a balanced timing value of 5, which is suitable for most
(this default may be changed in future versions of Vault, depending if the platforms and scenarios. You should only adjust the timing value when platform
target minimum server profile changes). Setting this to a value of 1 will telemetry indicators that a change is needed or different timing is required due
configure Raft to its highest-performance mode and is recommended for to the overall reliability your platform (network, etc.).
production Vault servers. The maximum allowed value is 10.
Setting the timing value to 1 configures Raft to its highest performance (lowest
delay) mode. The maximum allowed value is 10.
- `trailing_logs` `(integer: 10000)` - This controls how many log entries are - `trailing_logs` `(integer: 10000)` - This controls how many log entries are
left in the log store on disk after a snapshot is made. This should only be left in the log store on disk after a snapshot is made. This should only be