[SERVER-13237] benchRun should use a thread-safe random number generator Created: 17/Mar/14 Updated: 19/Sep/15 Resolved: 28/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | 2.4.9, 2.6.0-rc1 |
| Fix Version/s: | 3.0.4, 3.1.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | David Daly |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Backport Completed: | |
| Sprint: | CAP - 3.1.4 |
| Participants: |
| 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. |
| Comments |
| Comment by Githook User [ 29/May/15 ] |
|
Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'}Message: (cherry picked from commit acc1ebc194ab01f81750a4e60dc78a3a9bac650f) |
| Comment by Githook User [ 28/May/15 ] |
|
Author: {u'username': u'dalyd', u'name': u'dalyd', u'email': u'david.daly@mongodb.com'}Message: |