reroute post shard started should have HIGH prio as well
This commit is contained in:
parent
f2614b22de
commit
bd52d61d5d
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue