VAULT-39444 Fix locking in rotation queue (#9336) (#9467)

* adding new locks

* adding initial testing

* changelog

* Update changelog/_9336.txt



* fixing test to use proper error output

* added additional locks on pops and last push.

* fixing tests since I cant use t.Fatalf in a go func

* adding rotation window, removing lock as reached a deadlock in test

* removing locking from the OnFailure

* removing unused locks.

---------

Co-authored-by: JMGoldsmith <spartanaudio@gmail.com>
Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
This commit is contained in:
Vault Automation 2025-09-19 11:40:11 -04:00 committed by GitHub
parent 5b2f37614c
commit 26d18367a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

3
changelog/_9336.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
core: Fixed issue where under certain circumstances the rotation manager would spawn goroutines indefinitely.
```