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

system.peers table not updated after decommissioning nodes in C* 2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.14, 2.0.5
    • None
    • None
    • Datastax AMI running EC2 m1.xlarge instances

    • Normal

    Description

      After decommissioning my cluster from 20 to 9 nodes using opscenter, I found all but one of the nodes had incorrect system.peers tables.

      This became a problem (afaik) when using the python-driver, since this queries the peers table to set up its connection pool. Resulting in very slow startup times, because of timeouts.

      The output of nodetool didn't seem to be affected. After removing the incorrect entries from the peers tables, the connection issues seem to have disappeared for us.

      Would like some feedback on if this was the right way to handle the issue or if I'm still left with a broken cluster.

      Attached is the output of nodetool status, which shows the correct 9 nodes. Below that the output of the system.peers tables on the individual nodes.

      Attachments

        1. 6053-v1.patch
          8 kB
          Tom Hobbs
        2. peers
          8 kB
          Guyon Moree

        Activity

          People

            thobbs Tom Hobbs
            gumuz Guyon Moree
            Tom Hobbs
            Brandon Williams
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: