forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Safe publication of DelayedAllocationService and SnapshotShardsService
These two classes were leaking a reference to themselves when adding themselves as listeners to the cluster service prior to being completely initialized these two instances were fixed by leveraging doStart/doStop to represent start/stop lifecycle points for when these objects are registered listeners. Relates elastic#38560
- Loading branch information
Showing
2 changed files
with
9 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