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

Better seeding of WT's random number generator

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: WiredTiger
    • Labels:
      None
    • Storage Execution
    • v3.4, v3.2

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: