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

Logging bug during the node replacement and token assignment

    XMLWordPrintableJSON

Details

    Description

      Hello Team,

       

      I noticed a minor logging issue when a Cassandra node is trying to boot-up with a new IP address but the existing data directory. The IP address and Token fields are inter-changed.

       

      Sample Log: 

      WARN [GossipStage:1] 2021-04-23 18:24:06,348 StorageService.java:2425 - Not updating host ID 27031833-5141-46e0-b032-bef67137ae49 for /10.24.3.9 because it's mine
      INFO [GossipStage:1] 2021-04-23 18:24:06,349 StorageService.java:2356 - Nodes () and /10.24.3.9 have the same token /10.24.3.10. Ignoring -1124147225848710462
      INFO [GossipStage:1] 2021-04-23 18:24:06,350 StorageService.java:2356 - Nodes () and /10.24.3.9 have the same token /10.24.3.10. Ignoring -1239985462983206335

      Steps to Reproduce:

      Replace a Cassandra node with the a new IP address with the same data directory and the logs should show the messages.

      Cassandra Version: 3.11.6

       

      Please let me know if you need more details

      Attachments

        Activity

          People

            brandon.williams Brandon Williams
            jaid Jai Bheemsen Rao Dhanwada
            Brandon Williams
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: