[Store] migrate non-allocated shard deletion to use ClusterStateNonMasterUpdateTask
This commit is contained in:
parent
bebaf9799c
commit
f029a24d53
|
@ -307,7 +307,7 @@ public class IndicesStore extends AbstractComponent implements ClusterStateListe
|
|||
return;
|
||||
}
|
||||
|
||||
clusterService.submitStateUpdateTask("indices_store", new ClusterStateUpdateTask() {
|
||||
clusterService.submitStateUpdateTask("indices_store", new ClusterStateNonMasterUpdateTask() {
|
||||
@Override
|
||||
public ClusterState execute(ClusterState currentState) throws Exception {
|
||||
if (clusterState.getVersion() != currentState.getVersion()) {
|
||||
|
|
Loading…
Reference in New Issue