[SERVER-16196] Add FSM-based concurrency tests to parallel suite Created: 17/Nov/14 Updated: 24/Dec/14 Resolved: 23/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency, Testing Infrastructure |
| Affects Version/s: | 2.8.0-rc0 |
| Fix Version/s: | 2.8.0-rc4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Daniel Alabi |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
v8_utils.cpp and parallelTester.js were modified to expose a CountDownLatch to the mongo shell. This is used to synchronize when all of the worker threads are started. It is only intended to be used for testing. runner.js contains the logic to setup the cluster and each of the workloads. fsm.js will run a single workload by following its probabilistic transition table for a set number of iterations. compose.js represents one way to combine multiple workloads. With some probability, the thread will transition between states of different workloads. assert.js wraps the existing assert function calls to not throw an error when certain conditions about who owns the db/collection are not met. This makes it possible to run workloads together without losing the ability to make any assertions. Workloads written for:
|
| Comments |
| Comment by Githook User [ 23/Dec/14 ] |
|
Author: {u'username': u'alabid', u'name': u'alabid', u'email': u'alabidan@gmail.com'}Message: Closes #882 Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Githook User [ 12/Dec/14 ] |
|
Author: {u'username': u'dpercy', u'name': u'David Percy', u'email': u'david.percy@mongodb.com'}Message: |
| Comment by Githook User [ 02/Dec/14 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Revert " This reverts commit 113fb30b65cded6ece1160c962d64fa232440b7d. Will re-enable the tests once memory overhead issues with the |
| Comment by Githook User [ 02/Dec/14 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Revert " This reverts commit 113fb30b65cded6ece1160c962d64fa232440b7d. Will re-enable the tests once memory overhead issues with the |
| Comment by Githook User [ 26/Nov/14 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |
| Comment by Githook User [ 19/Nov/14 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: The actual execution of the workloads is disabled for now. |