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

Patch to bring back replace_token

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      This is a follow-up for CASSANDRA-5916 where option "-Dcassandra.replace_token" was deprecated.

      The attached patch is a tentative to bring it back, but the token(s) must identify only one host and be an exact match (ie : all tokens of the host must be specified).

      How it works:

      • after the shadow gossip round, it tries to find a host to replace which matches exactly the specified tokens.
      • then it set -Dcassandra.replace_address
      • then, process is the same as replacing an host

      For us, it is a lot easier to use replace_token than replace_address. (We describe a cluster with a number of nodes and a list of tokens, and are in the cloud...)

      Attachments

        1. 6547.txt
          10 kB
          Fabien Rousseau

        Activity

          People

            Unassigned Unassigned
            frousseau Fabien Rousseau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: