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

benchRun should use a thread-safe random number generator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.9, 2.6.0-rc1
    • Fix Version/s: 3.0.4, 3.1.4
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: