-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API-424] Do not allow concurrent requests on SessionManager for the …
…same group id (#904) * Do not allow concurrent requests on SessionManager for the same group id We should make sure that for the same group id, new create session requests should only be made if there is no session or the session is expired. To achieve this, a new Map that holds the group id to in-flight create session requests pairs is introduced. When an in-flight request is found for a group id, concurrent requests now wait for the initial request to complete (either normally or exceptionally) and then try again. * check the error text in the test
- Loading branch information
Showing
2 changed files
with
89 additions
and
15 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
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