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

Extend existing endpoint check to also check when restarting normally

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 2.1.x
    • None
    • None

    Description

      In CASSANDRA-5571 we added a check in shadow gossip to see if there was an existing node in gossip, but only if we bootstrap. The scenario I want to prevent here is similar, but slightly different. If someone restores a node to their development environment for whatever reason, they have a good chance of accidentally joining that node to the production cluster since it will know about the production cluster from the system table, and now this node will also have a higher generation than the existing one, causing a host id collision and knocking it out of the ring (except in its own view.) Instead what I'd like to do is always do a shadow gossip round at startup, and check for conflicting host ids. Obviously we'll want to bypass this for replacement.

      Attachments

        Issue Links

          Activity

            People

              brandon.williams Brandon Williams
              brandon.williams Brandon Williams
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: