Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add autoloaded license path to the cache exempt list #22363

Merged
merged 2 commits into from Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/22363.txt
@@ -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.
```
5 changes: 5 additions & 0 deletions sdk/physical/cache.go
Expand Up @@ -37,6 +37,11 @@ var cacheExceptionsPaths = []string{
// exceptions to avoid unseal errors. See VAULT-17227
"core/seal-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
Expand Down