summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2018-09-24 09:47:39 -0400
committerjannaerin <golden.janna@gmail.com>2018-09-28 17:03:02 -0400
commitfa0e61f4042c325f5ec8903094bbe5fd2aa80c4e (patch)
tree89b8a78f11caf2ec972c68a034e8fd0c565f6b5f /jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js
parente9c9b87b155f3c50c71bbb15a989349152386530 (diff)
downloadmongo-fa0e61f4042c325f5ec8903094bbe5fd2aa80c4e.tar.gz
SERVER-36309 Confirm that iff a FSM txn successfully commits that all of its writes appear in the db
Diffstat (limited to 'jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js')
-rw-r--r--jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js b/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js
index a9a7b3114de..7fa5da7e447 100644
--- a/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js
+++ b/jstests/concurrency/fsm_workloads/snapshot_read_catalog_operations.js
@@ -17,7 +17,7 @@ var $config = (function() {
const states = {
init: function init(db, collName) {
- this.session = db.getMongo().startSession({causalConsistency: false});
+ this.session = db.getMongo().startSession({causalConsistency: true});
this.sessionDb = this.session.getDatabase(db.getName());
this.txnNumber = 0;
this.stmtId = 0;