-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4973] improvement(client-java/server): Clear
CallerContext
in Jav…
…a Client and Server when call `getFileLocation` finally (#4974) ### What changes were proposed in this pull request? Currently, after the client completes the `getFileLocation` request and the server completes the `getFileLocation` response, the Thread Local `CallerContext` is not cleaned up. This may cause the next request to incorrectly report the same information repeatedly when the thread is reused. We should eventually clean up the `CallerContext`. ### Why are the changes needed? Fix: #4973 ### How was this patch tested? Add UTs.
- Loading branch information
Showing
4 changed files
with
36 additions
and
14 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
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