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

CEP-15: (Accord) Migrate Accord away from JDK random to a new interface RandomSource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • Accord
    • None

    Description

      JDK Random has basic functions needed, but is lacking and requires custom utils to add some added methods desired (such as next[short,int,long,float,double] in a range), so to deal with this we should own the random interface we use.

      This has 2 main context points for accord: Node (breaking API change), and BurnTest.

      By owning our own interface, we could also have C* Simulator’s RandomSource “extend” it so we don’t have to redefine everything cross both repos.

      Attachments

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Blake Eggleston
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m