Avoid creating CCR components for tribe node
Fixes an issue where the CCR threadpool as not known to the tribe node. Related to the backport of
Closes
@@ -178,7 +178,7 @@ public class Ccr extends Plugin implements ActionPlugin, PersistentTaskPlugin, E
final NodeEnvironment nodeEnvironment,
final NamedWriteableRegistry namedWriteableRegistry) {
this.client = client;
- if (enabled == false) {
+ if (enabled == false || tribeNode || tribeNodeClient) {
return emptyList();
}
