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

nodetool describecluster command is not showing correct Down count.

    XMLWordPrintableJSON

Details

    Description

      There are some nodes down in the cluster of Cassandra Version 4.x

      1. nodetool describecluster command output shows these ips as unreachable.

      UNREACHABLE: [<ip1>, <ip2>, <ip3>]

      Stats for all nodes:
              Live: 3
              Joining: 0
              Moving: 0
              Leaving: 0
              Unreachable: 3

      But under data center , count of down pod is always shown as 0.

      Data Centers: 
          dc1 #Nodes: 3 #Down: 0
          dc2 #Nodes: 3 #Down: 0

       

      Steps to reproduce:

      1. Setup two Data centers dc1,dc2, each datacenter was having 3 nodes - dc1:3,dc2:3
      2. mark down any 3 nodes of two data centers.
      3. Run nodetool describecluster command from the live node and check the Unreachable count , which is 3 and Down Count is 0 , both are not matched.

       

      Expected Output: Unreachable and Down count should have the same value.

      Data Centers:
              dc1 #Nodes: 3 #Down: 1

              dc2 #Nodes: 3 #Down: 2

       

       

      Attachments

        Activity

          People

            ranju Ranju
            ranju Ranju
            Ranju
            Brandon Williams, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: