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 openapi: Add display attributes for Consul (#19413) 2023-04-13 11:31:37 -04:00
database openapi: Add display attributes for database plugin (#19414) 2023-04-10 14:22:02 -04:00
nomad use internal docker mirror for CI (#20435) 2023-05-05 09:37:31 -07:00
pki Fix race in PKI's runUnifiedTransfer (#20701) 2023-05-22 18:31:19 +00:00
pkiext ACME tests for Intermediate CA issuance prevention (#20633) 2023-05-17 19:54:37 +00:00
rabbitmq Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
ssh Add support for docker testclusters (#20247) 2023-04-24 14:25:50 -04:00
totp openapi: Add display attributes for TOTP plugin (#19544) 2023-04-10 13:32:15 -04:00
transit Transit UX improvements: show key policy, configs on write (#20652) 2023-05-18 14:36:10 -04:00