Skip to content

Commit

Permalink
backport of commit 58f029d (#21239)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Rodriguez <[email protected]>
  • Loading branch information
1 parent 9b308be commit 9a317e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/21223.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Do not cache seal configuration to fix a bug that resulted in sporadic auto unseal failures.
```
5 changes: 5 additions & 0 deletions sdk/physical/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ var cacheExceptionsPaths = []string{
"sys/expire/",
"core/poison-pill",
"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
Expand Down

0 comments on commit 9a317e2

Please sign in to comment.