start mapping service earlier to be available for recovery

This commit is contained in:
Shay Banon 2014-07-01 11:39:14 +02:00
parent 6a1e7b6ad0
commit f0817c31d9
1 changed files with 1 additions and 1 deletions

View File

@ -223,6 +223,7 @@ public final class InternalNode implements Node {
injector.getInstance(plugin).start(); injector.getInstance(plugin).start();
} }
injector.getInstance(MappingUpdatedAction.class).start();
injector.getInstance(IndicesService.class).start(); injector.getInstance(IndicesService.class).start();
injector.getInstance(IndexingMemoryController.class).start(); injector.getInstance(IndexingMemoryController.class).start();
injector.getInstance(IndicesClusterStateService.class).start(); injector.getInstance(IndicesClusterStateService.class).start();
@ -243,7 +244,6 @@ public final class InternalNode implements Node {
if (settings.getAsBoolean("http.enabled", true)) { if (settings.getAsBoolean("http.enabled", true)) {
injector.getInstance(HttpServer.class).start(); injector.getInstance(HttpServer.class).start();
} }
injector.getInstance(MappingUpdatedAction.class).start();
injector.getInstance(BulkUdpService.class).start(); injector.getInstance(BulkUdpService.class).start();
injector.getInstance(ResourceWatcherService.class).start(); injector.getInstance(ResourceWatcherService.class).start();
injector.getInstance(TribeService.class).start(); injector.getInstance(TribeService.class).start();