diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-11-13 19:33:45 -0500 |
---|---|---|
committer | Jack Mulrow <jack.mulrow@mongodb.com> | 2017-11-17 16:01:19 -0500 |
commit | 97af8701b538754261e566b26fa22cb4b54710f3 (patch) | |
tree | 1326cc7af7e461f5689f5c6c52e857c0a9de01ba /jstests/replsets/transaction_table_oplog_replay.js | |
parent | 69a17fc7d0546651c4229f246292086982441346 (diff) | |
download | mongo-97af8701b538754261e566b26fa22cb4b54710f3.tar.gz |
SERVER-31941 Disallow retryable writes in storage engines that do not support document-level locking
Diffstat (limited to 'jstests/replsets/transaction_table_oplog_replay.js')
-rw-r--r-- | jstests/replsets/transaction_table_oplog_replay.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/replsets/transaction_table_oplog_replay.js b/jstests/replsets/transaction_table_oplog_replay.js index 180c1f051c5..12a93013c88 100644 --- a/jstests/replsets/transaction_table_oplog_replay.js +++ b/jstests/replsets/transaction_table_oplog_replay.js @@ -4,6 +4,11 @@ (function() { "use strict"; + if (jsTest.options().storageEngine === "mmapv1") { + jsTestLog("Retryable writes are not supported, skipping test"); + return; + } + /** * Asserts the connection has a document in its transaction collection that has the given * sessionId, txnNumber, and lastWriteOptimeTs. |