reroute post shard started should have HIGH prio as well

This commit is contained in:
Shay Banon 2013-07-21 15:21:22 +02:00
parent f2614b22de
commit bd52d61d5d
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ public class ShardStateAction extends AbstractComponent {
@Override
public void clusterStateProcessed(ClusterState clusterState) {
rerouteRequired.set(true);
clusterService.submitStateUpdateTask("reroute post shard-started (" + shardRouting + "), reason [" + reason + "]", new ClusterStateUpdateTask() {
clusterService.submitStateUpdateTask("reroute post shard-started (" + shardRouting + "), reason [" + reason + "]", Priority.HIGH, new ClusterStateUpdateTask() {
@Override
public ClusterState execute(ClusterState currentState) {
if (rerouteRequired.compareAndSet(true, false)) {