From 84ad29ddfa7d3d97cb19d7710cb008aaff0da489 Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Tue, 15 Jul 2014 15:09:44 +0200 Subject: [PATCH] [Recovery] don't start a gateway recovery if source node is not found Due to change introduced in #6825, we now start a local gateway recovery for replicas, if the source node can not be found. The recovery then fails because we never recover replicas from disk. Closes #6879 --- .../cluster/IndicesClusterStateService.java | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java b/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java index 06e181814c1..1575ad08394 100644 --- a/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java +++ b/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java @@ -648,10 +648,14 @@ public class IndicesClusterStateService extends AbstractLifecycleComponent