From 67e601dfdc8c89fe238f267f650328b6523b0343 Mon Sep 17 00:00:00 2001 From: David Murphy Date: Thu, 5 May 2016 16:34:06 +0100 Subject: [PATCH] Community Provided patch to force DB_SERIALIZABLE solving the specfic issue for MX-1328 --- src/mongo/db/commands/txn_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo/db/commands/txn_commands.cpp b/src/mongo/db/commands/txn_commands.cpp index c8485200d6..f648529bfe 100644 --- a/src/mongo/db/commands/txn_commands.cpp +++ b/src/mongo/db/commands/txn_commands.cpp @@ -73,7 +73,7 @@ namespace mongo { else { string iso = isoBSON.String(); if (iso == "serializable") { - iso_flags = 0; + iso_flags = DB_SERIALIZABLE; uassert(16807, "Cannot set multi statement transaction to serializable on machine that is not primary", (!theReplSet || theReplSet->isPrimary())); } else if (iso == "mvcc") {