Details
Description
The workloads should explicitly create the test collection instead of implicitly creating it when the worker threads insert initial documents in the "init" state since implicit createCollection and index build operations started by those threads can conflict with each other. Additionally, the createCollection command should use writeConcern "majority", otherwise a transaction that starts while the index build is pending would fail with SnapshotUnavailable.