make sure to initialize the routing table version with the cluster state version as well
This commit is contained in:
parent
5f4c6c75ae
commit
ffc7f3e12b
|
@ -267,6 +267,7 @@ public class GatewayService extends AbstractLifecycleComponent<GatewayService> i
|
|||
routingTableBuilder.add(indexRoutingBuilder);
|
||||
}
|
||||
}
|
||||
routingTableBuilder.version(recoveredState.version());
|
||||
|
||||
// now, reroute
|
||||
RoutingAllocation.Result routingResult = shardsAllocation.reroute(newClusterStateBuilder().state(updatedState).routingTable(routingTableBuilder).build());
|
||||
|
|
Loading…
Reference in New Issue