summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2019-04-08 14:02:36 -0400
committerA. Jesse Jiryu Davis <jesse@mongodb.com>2019-04-08 14:19:08 -0400
commit02a87ee5b1942d24e1d7a20502c79d36218929fe (patch)
tree68219f29d940a1eae531e4cedde40e87aab57389 /src
parent2db32e10f3e1e5aedb80703104fae838acfcf696 (diff)
downloadmongo-02a87ee5b1942d24e1d7a20502c79d36218929fe.tar.gz
Revert "SERVER-36494 Test that active txn entries aren't truncated"
This reverts commit f8f872e029ba3b1f32d8499c912756d48dc1a03b.
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/repl/repl_set_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/repl_set_commands.cpp b/src/mongo/db/repl/repl_set_commands.cpp
index 058824de638..6a417ff9a7a 100644
--- a/src/mongo/db/repl/repl_set_commands.cpp
+++ b/src/mongo/db/repl/repl_set_commands.cpp
@@ -383,7 +383,7 @@ public:
status =
ReplicationCoordinator::get(opCtx)->processReplSetReconfig(opCtx, parsedArgs, &result);
- Lock::GlobalLock globalLock(opCtx, MODE_IX);
+ Lock::GlobalWrite globalWrite(opCtx);
WriteUnitOfWork wuow(opCtx);
if (status.isOK() && !parsedArgs.force) {