mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Don't activate ingest on tribe nodes
This commit is contained in:
parent
eca1594969
commit
ba97b7f7bd
@ -69,7 +69,10 @@ public class IngestBootstrapper extends AbstractLifecycleComponent implements Cl
|
||||
this.pipelineStore = new PipelineStore(settings, clusterService, transportService);
|
||||
this.pipelineExecutionService = new PipelineExecutionService(pipelineStore, threadPool);
|
||||
|
||||
clusterService.add(this);
|
||||
boolean isNoTribeNode = settings.getByPrefix("tribe.").getAsMap().isEmpty();
|
||||
if (isNoTribeNode) {
|
||||
clusterService.add(this);
|
||||
}
|
||||
}
|
||||
|
||||
// for testing:
|
||||
|
Loading…
x
Reference in New Issue
Block a user