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

When specifying both num_tokens and initial_token, error out if the numbers don't match

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.6, 3.6
    • None

    Description

      Right now if both initial_token and num_tokens are specified, initial_token is used. As something to not trip people up, it would be nice to do a basic error check. If both are specified, we should make sure they match. That is, if they have one initial token and num_tokens of 256, it should error out on startup and alert the user of the configuration. It's better to fail fast than bootstrap with only one token.

      Attachments

        1. 10120-3.0.txt
          1 kB
          Roman Pogribnyi
        2. 10120-3.0.txt
          1 kB
          Roman Pogribnyi

        Issue Links

          Activity

            People

              pogribnyi Roman Pogribnyi
              jeromatron Jeremy Hanna
              Roman Pogribnyi
              Sylvain Lebresne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: