jstests/concurrency/fsm_workloads/access_collection_in_transaction_after_catalog_changes.js
/**
         * The following functions will be run by threads performing DDL operations.
         */
The following functions will be run by threads performing DDL operations.
The following functions will be run by threads performing DDL operations .
function createColl(db, collName) {
            assertWhenOwnColl.commandWorked(
                db.getSiblingDB(this.ddlDBName)[this.ddlCollName].insert({x: 1}));
        }
function createColl ( db , collName ) { assertWhenOwnColl . commandWorked ( db . getSiblingDB ( this . ddlDBName ) [ this . ddlCollName ] . insert ( { x : 1 } ) ) ; }
The following functions will be run by threads performing DDL operations.
The following functions will be run by threads performing DDL operations .
// Insert a document to ensure the collection exists and provide data that can be // accessed in the transaction states.