Skip to content

Conversation

mar-kolya
Copy link

There were a couple of race conditions in Bulkhead implementation that resulted in permits leaking and eventually all processing protected by bulkhead stopping.

This PR is split by commit and adds comments to the code hopefully explaining what is going on.

This should fix issues outlined in #393 - and in fact it uses reproducer code provided there as an inspiration for the test.

Thanks!

Previous implementation made it possible for permit to be acquired, but client code getting `BulkheadFullException` resulting in permit leak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant