File tree 1 file changed +2
-0
lines changed
x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 26
26
import org .elasticsearch .index .shard .ShardNotFoundException ;
27
27
import org .elasticsearch .index .translog .Translog ;
28
28
import org .elasticsearch .indices .IndexClosedException ;
29
+ import org .elasticsearch .node .NodeClosedException ;
29
30
import org .elasticsearch .persistent .AllocatedPersistentTask ;
30
31
import org .elasticsearch .tasks .TaskId ;
31
32
import org .elasticsearch .transport .NodeDisconnectedException ;
@@ -416,6 +417,7 @@ static boolean shouldRetry(Exception e) {
416
417
actual instanceof IndexClosedException || // If follow index is closed
417
418
actual instanceof NodeDisconnectedException ||
418
419
actual instanceof NodeNotConnectedException ||
420
+ actual instanceof NodeClosedException ||
419
421
(actual .getMessage () != null && actual .getMessage ().contains ("TransportService is closed" ));
420
422
}
421
423
You can’t perform that action at this time.
0 commit comments