Active
Project:
Elasticsearch Connector
Version:
8.x-5.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2018 at 01:59 UTC
Updated:
19 Nov 2018 at 14:56 UTC
Jump to comment: Most recent
Comments
Comment #2
dimaboychev commentedMake sure to have at least one default active cluster. When creating an elasticsearch cluster "Make this cluster default connection" should be checked.
Comment #3
grimreaperHello,
I have the same issue in the same situation.
Looking into the code, the problem is that the default cluster is loaded using a state which stores the ID of the default cluster.
So in a team of developers or across different environments, only the config is deployed, not the states. So the state is not set for another developer or another environment.
A workaround is to resave the cluster configuration to have the state set. But this is not very DX friendly, and the use of a state should be avoided to detect the default cluster.