[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:
Related
related to SERVER-16648 Add more FSM-based concurrency tests ... Closed
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:

  • findAndModify
  • indexed inserts
  • bulk update operation
  • update


 Comments   
Comment by Githook User [ 23/Dec/14 ]

Author:

{u'username': u'alabid', u'name': u'alabid', u'email': u'alabidan@gmail.com'}

Message: SERVER-16196 Re-enable FSM workloads for standalone mongod

Closes #882

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/4790d61d2151aac7f026a817a2ce17a2be890bc9

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: SERVER-16196 Port CountDownLatch to v8-3.25
Branch: master
https://github.com/mongodb/mongo/commit/3f5b7737b18294c39aba78e84e45fb5e41bb706b

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 "SERVER-16196 Enable execution of workloads against standalone mongod."

This reverts commit 113fb30b65cded6ece1160c962d64fa232440b7d.

Will re-enable the tests once memory overhead issues with the
mongo shell are resolved.
Branch: master
https://github.com/mongodb/mongo/commit/9db6b7d7ad6e585f9bc9b0779db10d53535b4b68

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 "SERVER-16196 Enable execution of workloads against standalone mongod."

This reverts commit 113fb30b65cded6ece1160c962d64fa232440b7d.

Will re-enable the tests once memory overhead issues with the
mongo shell are resolved.
Branch: master
https://github.com/mongodb/mongo/commit/9db6b7d7ad6e585f9bc9b0779db10d53535b4b68

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: SERVER-16196 Enable execution of workloads against standalone mongod.
Branch: master
https://github.com/mongodb/mongo/commit/113fb30b65cded6ece1160c962d64fa232440b7d

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: SERVER-16196 Add FSM-based concurrency tests to parallel suite.

The actual execution of the workloads is disabled for now.
Branch: master
https://github.com/mongodb/mongo/commit/365cca0c47566d192ca847f0b077cedef4b3430e

Generated at Thu Feb 08 03:40:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.