Files
mongo/jstests/replsets/apply_ops_insert_write_conflict_nonatomic.js
Benety Goh f0d41183e7 SERVER-30049 applyOperation_inlock() allows exceptions from Collection::insertDocument() to percolate to caller
This specifically addresses the case where a WriteConflictException is thrown from insertDocument().
Converting this exception into a status will not allow the write conflict retry loops in callers to
work properly.
2017-07-25 17:41:58 -04:00

11 lines
251 B
JavaScript

(function() {
'use strict';
load("jstests/replsets/libs/apply_ops_insert_write_conflict.js");
new ApplyOpsInsertWriteConflictTest({
testName: 'apply_ops_insert_write_conflict_nonatomic',
atomic: false
}).run();
}());