Skip to content

Commit

Permalink
add autoloaded license path to the cache exempt list (#22363)
Browse files Browse the repository at this point in the history
* add autoloaded license path to the cache exempt list

* CL
  • Loading branch information
hghaf099 authored and rebwill committed Aug 18, 2023
1 parent 2f95160 commit 926a484
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/22363.txt
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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

0 comments on commit 926a484

Please sign in to comment.