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

Failed replacements due to "Cannot replace token xxx which does not exist"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • 5.x
    • Consistency/Streaming
    • None
    • Degradation - Other Exception
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide

      New distributed testing confirming functionality works as expected and doesn't disrupt existing functionality

      Show
      New distributed testing confirming functionality works as expected and doesn't disrupt existing functionality

    Description

      Host replacements require host ID and token, however reporting of this info is typically blocked when the “status” field is missing. We should expose a system env (-D) param to advanced operators to have the ability to specify the replace_addresses_token to be used during host replacement in cases where Gossip gets into a bad state.

      Given this is inherently an unsafe / high risk manual intervention, we want to avoid promoting this to being a config param however Gossip quite often contorts into problematic split-brain states like this and having the ability to manually override things helps unstick host replacements that go straddled. Should update NEWS.txt at the very least and consider documentation as well

      This is an interim solution that'll be obviated by CEP-21, but is still useful on existing clusters.

      Attachments

        Activity

          People

            jmckenzie Josh McKenzie
            jmckenzie Josh McKenzie
            Josh McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: