backport of commit 5374b3b046d13d3e7a9f6833efcaeff0e49fddc4 (#22366)

Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-08-16 10:16:42 -04:00 committed by GitHub
parent c89b6d5fa8
commit e9f394c549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

3
changelog/22363.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
license: Add autoloaded license path to the cache exempt list. This is to ensure the license changes on the active node is observed on the perfStandby node.
```

View File

@ -37,6 +37,11 @@ var cacheExceptionsPaths = []string{
// exceptions to avoid unseal errors. See VAULT-17227 // exceptions to avoid unseal errors. See VAULT-17227
"core/seal-config", "core/seal-config",
"core/recovery-config", "core/recovery-config",
// we need to make sure the persisted license is read from the storage
// to ensure the changes to the autoloaded license on the active node
// is observed on the perfStandby nodes
"core/autoloaded-license",
} }
// CacheRefreshContext returns a context with an added value denoting if the // CacheRefreshContext returns a context with an added value denoting if the