Sergey Leschenko
unread,Sep 4, 2024, 7:02:27 AM9/4/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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