Multiple KairosDB doesn't see data of other party

39 views
Skip to first unread message

Sergey Leschenko

unread,
Sep 4, 2024, 7:02:27 AM9/4/24
to KairosDB
Hi All,

I have the Cassandra cluster (DC1: 4 nodes, DC2: 1 node).
Keyspace was created as:
CREATE KEYSPACE metrics WITH replication = {'class': 'NetworkTopologyStrategy', 'Main': '3', 'Secondary': '1'}  AND durable_writes = true;

And have 2 instances of KairosDB v1.3.0 which both connects to the same C* cluster.
They have identical configuration. Both have:
kairosdb.datastore.cassandra.write_cluster.read_consistency_level=QUORUM
kairosdb.datastore.cassandra.write_cluster.write_consistency_level=QUORUM

But somehow metrics written via one instance of KairosDB are not available to query from another instance of KairosDB, and vice-versa.
In result the process which writes the metrics is randomly chooses the KairosDB instance, and UI which query also one of instance, shows gaps in the values.

Are there any tips how to configure multiple KairosDB instances to work with the same C* and see all data?
Now I set kairosdb.datastore.cassandra.write_cluster.cql_host_list to the list of Cassandra nodes from DC1 only, but it doesn't solve the issue.

Best regards

Sergey Leschenko

unread,
Sep 18, 2024, 6:01:28 AM9/18/24
to KairosDB
Answer to myself - this was a misconfiguration, not related to the Cassandra.
Reply all
Reply to author
Forward
0 new messages