Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main issue we are trying to fix is to make sure there are no invocations left after client has shutdown. The assert(in ClientInvocationServiceSupport) that checks all invocations are cleared was failing. One of the reason that an invocation is left there was clusterService thread. In ClusterService shutdown we will wait for executor to shutdown completely to make sure, there is no invocation left triggered by cluster thread. ConnectionManager close will be done before clusterService close to make sure, cluster thread can not trigger a new authentication while trying to shutting down. It turns out that CleanResources Task logic is indeed not suitable for using when client is shutting down. Because it was postponing clearing some invocation for 1 seconds if connection is closed in last 5 seconds. Much simpler version of clearing invocations is implemented in place of it.
- Loading branch information
sancar
committed
Mar 28, 2016
1 parent
e678088
commit b0ece18
Showing
5 changed files
with
42 additions
and
7 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
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