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-6823 Hang in ElderInitProcessor.init()
This corrects elder init processing to use the isCloseInProgress to check for shutdown. A coding error during refactoring caused it to check the isCloseInProgress() method, which did more than just return the value of the isCloseInProgress variable and was incorrectly reporting a close in progress during startup operations. I've renamed the old isCloseInProgress() method to avoid similar coding errors in the future and added a new implementation that merely returns the value of the field, as you'd expect it to do. While writing tests I found that the ClusterElderManagerTest was leaving blocked threads behind because the waitForElder() method in ClusterElderManager was not interruptable. I've changed that method to be interruptable. We don't interrupt message-processing threads so this should be a safe change.
- Loading branch information
1 parent
cd2eae3
commit ef18e4d
Showing
7 changed files
with
95 additions
and
60 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
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