Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2177

Add an optional per-thread seed to random number generator

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: