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:
Shay Banon 2013-10-30 15:53:31 +01:00
parent 8b2efd4849
commit 8aa2ee7bac
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public class IndicesClusterStateService extends AbstractLifecycleComponent<Indic
@Override
protected void doStart() throws ElasticSearchException {
clusterService.add(this);
clusterService.addFirst(this);
}
@Override