Merge branch 'stable-2.14' into stable-2.15
* stable-2.14:
SshCommandsIT: Include `logging ls` and `logging set` commands
Add tests to make sure ssh commands can be executed
Align ElasticIndexModule with LuceneIndexModule
Revert "Remove unneeded nested MultiVersionModule class"
Remove unneeded nested MultiVersionModule class
Only bind index {start/activate} if needed
InitIndex: Allow to configure index.maxLimit for Elasticsearch
Change-Id: Icf925e3724ca6974831676e505692807a771e70b
This commit is contained in:
@@ -82,7 +82,6 @@ public class ElasticIndexModule extends AbstractModule {
|
||||
} else {
|
||||
install(new SingleVersionModule(singleVersions));
|
||||
}
|
||||
bind(VersionManager.class).to(ElasticVersionManager.class);
|
||||
}
|
||||
|
||||
@Provides
|
||||
@@ -94,6 +93,7 @@ public class ElasticIndexModule extends AbstractModule {
|
||||
private class MultiVersionModule extends LifecycleModule {
|
||||
@Override
|
||||
public void configure() {
|
||||
bind(VersionManager.class).to(ElasticVersionManager.class);
|
||||
listener().to(ElasticVersionManager.class);
|
||||
if (onlineUpgrade) {
|
||||
listener().to(OnlineUpgrader.class);
|
||||
|
||||
Reference in New Issue
Block a user