Includes workloads for:
explain
compact
reindex
collMod
count
distinct
touch
$where
Added to blacklists in FSM runners
Fixed the way we check for storage engines
Added two options for arbitrary function execution against cluster:
- Specified via ClusterOptions as setupFunctions to be run on the
cluster before workloads are run
- As part of setup and teardown with the cluster provided as a third
argument to these workload functions
20 lines
593 B
JavaScript
20 lines
593 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* touch_data.js
|
|
*
|
|
* Bulk inserts documents in batches of 100, uses touch on "data" but not "index",
|
|
* and queries to verify the number of documents inserted by the thread.
|
|
*/
|
|
|
|
load('jstests/concurrency/fsm_libs/extend_workload.js'); // for extendWorkload
|
|
load('jstests/concurrency/fsm_workloads/touch_base.js'); // for $config
|
|
|
|
var $config = extendWorkload($config, function($config, $super) {
|
|
$config.data.generateTouchCmdObj = function generateTouchCmdObj(collName) {
|
|
return { touch: collName, data: true, index: false };
|
|
};
|
|
|
|
return $config;
|
|
});
|