open-vault/builtin/logical
Alexander Scheel 1f21afba21
Fix race in PKI's runUnifiedTransfer (#20701)
* Fix race in PKI's runUnifiedTransfer

During this race, we'll sometimes start (or fail to start) an additional
unified transfer if the updated last run timestamp was written at the
same time as another thread was reading it.

Instead, delay this check until we're holding the CAS guard; this will
occasionally result in more messages saying that an existing process is
already running, but otherwise shouldn't impact the functionality at
all.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog entry

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-05-22 18:31:19 +00:00
..
aws secrets/aws: fix role field description (#20686) 2023-05-19 18:33:18 +00:00
consul
database
nomad
pki Fix race in PKI's runUnifiedTransfer (#20701) 2023-05-22 18:31:19 +00:00
pkiext
rabbitmq
ssh
totp
transit Transit UX improvements: show key policy, configs on write (#20652) 2023-05-18 14:36:10 -04:00