jstests/concurrency/fsm_workloads/access_collection_in_transaction_after_catalog_changes.js
/**
         * The following functions will be run by threads performing transaction operations.
         */
The following functions will be run by threads performing transaction operations.
The following functions will be run by threads performing transaction operations .
function aggregate(db, collName) {
            const op = function(ddlColl) {
                ddlColl.aggregate([{$limit: 1}]).itcount();
            };
            runOpInTxn(this.session,
                       db,
                       collName,
                       this.ddlDBName,
                       this.ddlCollName,
                       this.loggingCollName,
                       "aggregate",
                       op);
        }
function aggregate ( db , collName ) { const op = function ( ddlColl ) { ddlColl . aggregate ( [ { $limit : 1 } ] ) . itcount ( ) ; } ; runOpInTxn ( this . session , db , collName , this . ddlDBName , this . ddlCollName , this . loggingCollName , "aggregate" , op ) ; }
The following functions will be run by threads performing transaction operations.
The following functions will be run by threads performing transaction operations .