Add an optional per-thread seed to random number generator

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      Now that the __wt_random function takes a local random context it makes sense to use a seed per context, rather than start the random sequence at the same place every time.

      According to the wiki page the MWC algorithm we use works with a random seed:
      https://en.wikipedia.org/wiki/Multiply-with-carry

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: