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

token-generator - generated tokens too long

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.txt
          5 kB
          Robert Stupp
        2. 9300-v2.txt
          7 kB
          Robert Stupp

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment