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

token-generator - generated tokens too long

    XMLWordPrintableJSON

    Details

    • Severity:
      Low

      Description

      token-generator tool does not generate valid long values (2.0, 2.1, trunk).

      E.g.

      tools/bin/token-generator 4
      DC #1:
        Node #1:                                        0
        Node #2:   42535295865117307932921825928971026432
        Node #3:   85070591730234615865843651857942052864
        Node #4:  127605887595351923798765477786913079296
      

      But should generate tokens like

      -9223372036854775808
      -4611686018427387904
      0
      4611686018427387904
      

        Attachments

        1. 9300.txt
          5 kB
          Robert Stupp
        2. 9300-v2.txt
          7 kB
          Robert Stupp

          Activity

            People

            • Assignee:
              snazy Robert Stupp
              Reporter:
              snazy Robert Stupp
              Authors:
              Robert Stupp
              Reviewers:
              Stefania Alborghetti
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: