[Store] migrate non-allocated shard deletion to use ClusterStateNonMasterUpdateTask

This commit is contained in:
Boaz Leskes 2014-07-17 15:55:03 +02:00
parent bebaf9799c
commit f029a24d53
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class IndicesStore extends AbstractComponent implements ClusterStateListe
return; return;
} }
clusterService.submitStateUpdateTask("indices_store", new ClusterStateUpdateTask() { clusterService.submitStateUpdateTask("indices_store", new ClusterStateNonMasterUpdateTask() {
@Override @Override
public ClusterState execute(ClusterState currentState) throws Exception { public ClusterState execute(ClusterState currentState) throws Exception {
if (clusterState.getVersion() != currentState.getVersion()) { if (clusterState.getVersion() != currentState.getVersion()) {