mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
backport of commit 58f029d608 (#21239)
Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
This commit is contained in:
committed by
GitHub
parent
9b308bebe4
commit
9a317e2101
3
changelog/21223.txt
Normal file
3
changelog/21223.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
core: Do not cache seal configuration to fix a bug that resulted in sporadic auto unseal failures.
|
||||||
|
```
|
||||||
@@ -29,6 +29,11 @@ var cacheExceptionsPaths = []string{
|
|||||||
"sys/expire/",
|
"sys/expire/",
|
||||||
"core/poison-pill",
|
"core/poison-pill",
|
||||||
"core/raft/tls",
|
"core/raft/tls",
|
||||||
|
|
||||||
|
// Add barrierSealConfigPath and recoverySealConfigPlaintextPath to the cache
|
||||||
|
// exceptions to avoid unseal errors. See VAULT-17227
|
||||||
|
"core/seal-config",
|
||||||
|
"core/recovery-config",
|
||||||
}
|
}
|
||||||
|
|
||||||
// CacheRefreshContext returns a context with an added value denoting if the
|
// CacheRefreshContext returns a context with an added value denoting if the
|
||||||
|
|||||||
Reference in New Issue
Block a user