-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent race condition in ResponseTracker by using entry which holds …
…the lock This commit resolves the race condition in the ResponseTracer when creating a new token with an existing correlation id and completing the very same correlation id at the same time. The solution is to use the entry method of Dashmap which keeps the lock as long as entry is not dropped. This fixes #1531.
- Loading branch information
1 parent
dbf2f3e
commit e489a92
Showing
1 changed file
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters