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

token-generator - generated tokens too long

    XMLWordPrintableJSON

Details

    • 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-v2.txt
          7 kB
          Robert Stupp
        2. 9300.txt
          5 kB
          Robert Stupp

        Activity

          People

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Stefania Alborghetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: