From f0817c31d9a169056c3b4c50191b78257a5c6ded Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 1 Jul 2014 11:39:14 +0200 Subject: [PATCH] start mapping service earlier to be available for recovery --- src/main/java/org/elasticsearch/node/internal/InternalNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/node/internal/InternalNode.java b/src/main/java/org/elasticsearch/node/internal/InternalNode.java index 0ecd488f8d4..fdf4d954b92 100644 --- a/src/main/java/org/elasticsearch/node/internal/InternalNode.java +++ b/src/main/java/org/elasticsearch/node/internal/InternalNode.java @@ -223,6 +223,7 @@ public final class InternalNode implements Node { injector.getInstance(plugin).start(); } + injector.getInstance(MappingUpdatedAction.class).start(); injector.getInstance(IndicesService.class).start(); injector.getInstance(IndexingMemoryController.class).start(); injector.getInstance(IndicesClusterStateService.class).start(); @@ -243,7 +244,6 @@ public final class InternalNode implements Node { if (settings.getAsBoolean("http.enabled", true)) { injector.getInstance(HttpServer.class).start(); } - injector.getInstance(MappingUpdatedAction.class).start(); injector.getInstance(BulkUdpService.class).start(); injector.getInstance(ResourceWatcherService.class).start(); injector.getInstance(TribeService.class).start();