-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update error codes that are retried. (#14447)
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,7 +172,7 @@ Or specify the contents of a file as a value: | |
$ vault kv put secret/password [email protected] | ||
``` | ||
|
||
Note that if an argument is supplied in a @key=value format, Vault will treat that as a | ||
Note that if an argument is supplied in a @key=value format, Vault will treat that as a | ||
kv pair with the key being `@key`, not a file called `key=value`. This also means that Vault | ||
does not support filenames with `=` in them. | ||
|
||
|
@@ -263,8 +263,11 @@ This takes precedence over [license_path in config](/docs/configuration#license_ | |
|
||
### `VAULT_MAX_RETRIES` | ||
|
||
Maximum number of retries when a `5xx` error code is encountered. The default is | ||
`2`, for three total attempts. Set this to `0` or less to disable retrying. | ||
Maximum number of retries when certain error codes are encountered. The default | ||
is `2`, for three total attempts. Set this to `0` or less to disable retrying. | ||
|
||
Error codes that are retried are 412 (client consistency requirement not | ||
satisfied) and all 5xx except for 501 (not implemented). | ||
|
||
### `VAULT_REDIRECT_ADDR` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters