Skip to content

Commit f277efc

Browse files
louiswilliamsevergreen
authored andcommitted
SERVER-44041 Enable prepare_transaction_index_build.js when two phase index builds are enabled
1 parent ffc6e38 commit f277efc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

jstests/replsets/prepare_transaction_index_build.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
* writes if the prepared transaction commits after a hybrid index build commits. The long term
66
* solution to this problem is to synchronize index build commits.
77
*
8-
* TODO(SERVER-44041): Remove two_phase_index_builds_unsupported tag.
98
* @tags: [
109
* uses_transactions,
1110
* uses_prepare_transaction,
12-
* two_phase_index_builds_unsupported,
1311
* ]
1412
*/
1513
(function() {
@@ -44,7 +42,6 @@ jsTestLog("Starting a background index build.");
4442
assert.commandWorked(testDB.runCommand({
4543
createIndexes: collName,
4644
indexes: [{key: {x: 1}, name: 'x_1'}],
47-
writeConcern: {w: 2},
4845
}));
4946

5047
const session = primary.startSession({causalConsistency: false});

0 commit comments

Comments
 (0)