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

benchRun should use a thread-safe random number generator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.4.9, 2.6.0-rc1
    • 3.0.4, 3.1.4
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • CAP - 3.1.4

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: