Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22069

Better seeding of WT's random number generator

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WiredTiger
    • Labels:
      None
    • Backport Requested:
      v3.4, v3.2

      Description

      Currently each WiredTiger session has its own random number generator, and they use the same seed. This is not ideal, and makes it very difficult to describe the guarantees of random operations such as aggregation's $sample (which can use a random cursor).

      I'm not sure what the best way is to fix it, but I think we should do something about it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Execution Team
              Reporter:
              charlie.swanson Charlie Swanson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: