forked from apache/geode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEODE-8473: Hang in ReplyProcessor21 when forced-disconnect does not …
…establish a cancellation cause (apache#5491) Ensure that the cache is informed of a forced-disconnect in the DisconnectThread. This is a follow-on commit to GEODE-8467, which ensured that the DisconnectThread is launched in the presence of cache XML generation failure. This commit adds a try/catch in GMSMembership.uncleanShutdown() to ensure that the up-stream ClusterDistributionManager is informed of the failure so it can set the "rootCause" in its CancelCriterion. ReplyProcessor21 and other objects that poll for this "rootCause" will then be released from waiting for responses to messages sent to other members of the cluster.
- Loading branch information
1 parent
1d629e1
commit c48c0c3
Showing
2 changed files
with
33 additions
and
16 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