indices cluster state service should execute as one of the first listeners
its preferable to execute the indices cluster state service as quickly as possible, as one of the first listeners, so it will apply the cluster state to the local state potentially, it should even execute before it state is "visible" (through the state call), but that's another change...
This commit is contained in:
parent
8b2efd4849
commit
8aa2ee7bac
|
@ -131,7 +131,7 @@ public class IndicesClusterStateService extends AbstractLifecycleComponent<Indic
|
|||
|
||||
@Override
|
||||
protected void doStart() throws ElasticSearchException {
|
||||
clusterService.add(this);
|
||||
clusterService.addFirst(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue