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

benchRun should use a thread-safe random number generator

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.4, 3.1.4
    • Affects Version/s: 2.4.9, 2.6.0-rc1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • ALL
    • CAP - 3.1.4

      The BsonTemplateEvaluator used by benchRun uses rand() which isn't thread-safe on Linux and is synchronizing on Windows. It should be updated to use our internal PseudoRandom class.

            Assignee:
            david.daly@mongodb.com David Daly
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: