mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Updated to 0.90.8-SNAP.
This commit is contained in:
parent
9c0ecc708e
commit
71757bb330
2 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@
|
|||
</parent>
|
||||
|
||||
<properties>
|
||||
<elasticsearch.version>0.90.7</elasticsearch.version>
|
||||
<elasticsearch.version>0.90.8-SNAPSHOT</elasticsearch.version>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
|
|
|
@ -287,7 +287,7 @@ public class ExportersService extends AbstractLifecycleComponent<ExportersServic
|
|||
RoutingNode oldRoutingNode = previousRoutingNodes.node(shardRouting.currentNodeId());
|
||||
boolean changed = true;
|
||||
if (oldRoutingNode != null) {
|
||||
for (ShardRouting oldShardRouting : oldRoutingNode.shards()) {
|
||||
for (ShardRouting oldShardRouting : oldRoutingNode) {
|
||||
if (oldShardRouting.equals(shardRouting)) {
|
||||
changed = false;
|
||||
break;
|
||||
|
@ -362,7 +362,7 @@ public class ExportersService extends AbstractLifecycleComponent<ExportersServic
|
|||
class IndicesLifeCycleListener extends IndicesLifecycle.Listener {
|
||||
|
||||
@Override
|
||||
public void indexShardStateChanged(IndexShard indexShard, @Nullable IndexShardState previousState, IndexShardState newState, @Nullable String reason) {
|
||||
public void indexShardStateChanged(IndexShard indexShard, @Nullable IndexShardState previousState, IndexShardState currentState, @Nullable String reason) {
|
||||
|
||||
DiscoveryNode relocatingNode = null;
|
||||
if (indexShard.routingEntry() != null) {
|
||||
|
@ -371,7 +371,7 @@ public class ExportersService extends AbstractLifecycleComponent<ExportersServic
|
|||
}
|
||||
}
|
||||
|
||||
pendingEventsQueue.add(new ShardEvent(System.currentTimeMillis(), newState,
|
||||
pendingEventsQueue.add(new ShardEvent(System.currentTimeMillis(), currentState,
|
||||
indexShard.shardId(), clusterService.localNode(), relocatingNode, indexShard.routingEntry(), reason));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue