Skip to content

Commit 5283924

Browse files
committed
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 #44489
1 parent 87e003f commit 5283924

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr

1 file changed

+1
-1
lines changed

x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/Ccr.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public Collection<Object> createComponents(
178178
final NodeEnvironment nodeEnvironment,
179179
final NamedWriteableRegistry namedWriteableRegistry) {
180180
this.client = client;
181-
if (enabled == false) {
181+
if (enabled == false || tribeNode || tribeNodeClient) {
182182
return emptyList();
183183
}
184184

0 commit comments

Comments
 (0)