Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-19722

Metric for Cross Node DC Latency records external DCs as UNKNOWN_DC until restart

    XMLWordPrintableJSON

Details

    • Correctness
    • Normal
    • Normal
    • User Report
    • All
    • None

    Description

      When creating a new DC for a different region (In this case, on AWS), I've noticed that the metric (JMX Exporter): `org.apache.cassandra.metrics:type=Messaging,name=*-Latency` shows `UNKNOWN_DC` for external datacenters until the node is restarted, at which point it seems to resolve to the actual datacenter name.

      I'm using GossipingFileSnitch and nodetool status and nodetool gossipinfo always show the correct DC for the nodes, which makes me suspect there's some variable that's responsible for the metric that isn't updated

      Attachments

        Activity

          People

            Unassigned Unassigned
            andenaut Andrew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: