Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SpawnModules #13034

Merged
merged 3 commits into from
Aug 22, 2015
Merged

Remove SpawnModules #13034

merged 3 commits into from
Aug 22, 2015

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Aug 21, 2015

The last use case of spawn modules was for plugins. This change handles
plugin modules directly, and removes SpawnModules.

closes #12783

The last use case of spawn modules was for plugins. This change handles
plugin modules directly, and removes SpawnModules.

closes elastic#12783
@rjernst
Copy link
Member Author

rjernst commented Aug 22, 2015

I synced up with master, and also removed PreProcessModule as it is no longer used.

@rjernst rjernst added the review label Aug 22, 2015
@@ -316,6 +333,11 @@ public synchronized IndexService createIndex(String sIndexName, @IndexSettings S
modules.add(new IndexAliasesServiceModule());
modules.add(new IndexModule(indexSettings));

for (Module pluginModule : pluginsService.indexModules(indexSettings)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this actually used anywhere? I mean why would you add your own index modules? I really wonder if we need this kind of extension mechanism? I know it's unrelated but maybe we need a followup issue?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created #13059

@s1monw
Copy link
Contributor

s1monw commented Aug 22, 2015

LGTM

rjernst added a commit that referenced this pull request Aug 22, 2015
@rjernst rjernst merged commit d5819b6 into elastic:master Aug 22, 2015
@rjernst rjernst deleted the module_culling4 branch August 22, 2015 22:01
@clintongormley
Copy link
Contributor

@rjernst Did you mean to merge this in to 2.0 as well?

s1monw pushed a commit to s1monw/elasticsearch that referenced this pull request Aug 25, 2015
@s1monw s1monw added the v2.0.0 label Aug 25, 2015
@s1monw
Copy link
Contributor

s1monw commented Aug 25, 2015

back-ported to 2.0 branch as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove SpawnModules
3 participants