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

Better seeding of WT's random number generator

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • WiredTiger
    • None
    • Storage Execution
    • 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

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: