add autoloaded license path to the cache exempt list (#22363)

* add autoloaded license path to the cache exempt list

* CL
This commit is contained in:
Hamid Ghaf
2023-08-16 06:31:02 -07:00
committed by GitHub
parent 71a31d4055
commit 5374b3b046
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
"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