diff --git a/core/src/main/java/org/elasticsearch/indices/IndicesService.java b/core/src/main/java/org/elasticsearch/indices/IndicesService.java index 45730a58e07..0a145469699 100644 --- a/core/src/main/java/org/elasticsearch/indices/IndicesService.java +++ b/core/src/main/java/org/elasticsearch/indices/IndicesService.java @@ -271,7 +271,6 @@ public class IndicesService extends AbstractLifecycleComponent i idxSettings.getNumberOfReplicas(), idxSettings.isShadowReplicaIndex() ? "s" : ""); - // plugin modules must be added here, before others or we can get crazy injection errors... final IndexModule indexModule = new IndexModule(idxSettings, indexStoreConfig, analysisRegistry); pluginsService.onIndexModule(indexModule); for (IndexEventListener listener : builtInListeners) { diff --git a/core/src/main/java/org/elasticsearch/indices/memory/IndexingMemoryController.java b/core/src/main/java/org/elasticsearch/indices/memory/IndexingMemoryController.java index b42318c207b..b0c43916689 100644 --- a/core/src/main/java/org/elasticsearch/indices/memory/IndexingMemoryController.java +++ b/core/src/main/java/org/elasticsearch/indices/memory/IndexingMemoryController.java @@ -423,7 +423,7 @@ public class IndexingMemoryController extends AbstractLifecycleComponent