c0264c923d
* Don't race for CRL rebuilding capability check Core has recently seen some data races during SystemView/replication updates between them and the PKI subsystem. This is because this SystemView access occurs outside of a request (during invalidation handling) and thus the proper lock isn't held. Because replication status cannot change within the lifetime of a plugin (and instead, if a node switches replication status, the entire plugin instance will be torn down and recreated), it is safe to cache this once, at plugin startup, and use it throughout its lifetime. Thus, we replace this SystemView access with a stored boolean variable computed ahead of time. Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Update builtin/logical/pki/backend.go Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> |
||
---|---|---|
.. | ||
audit | ||
credential | ||
logical | ||
plugin |