forked from elastic/elasticsearch
-
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.
Line-up snapshot listeners resolution to avoid double calls (elastic#…
…102439) Snapshot listeners can be concurrently resolved from two different *clusterApplierService* and *masterService* task threads. If a listener is a **single action** listener, meaning that it has to be resolved only once, the following traces can occur, see elastic#101876 ``` at org.elasticsearch.action.ActionListener$4.assertFirstRun(ActionListener.java:324) at org.elasticsearch.action.ActionListener$4.onFailure(ActionListener.java:335) ``` Fix Line up *resolve listener and remove it from tracking collection* operations over snapshot listeners in order to avoid double invocation by separate threads Fix for elastic#101876
- Loading branch information
Showing
2 changed files
with
61 additions
and
28 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