diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-04-08 14:02:36 -0400 |
---|---|---|
committer | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-04-08 14:19:08 -0400 |
commit | 02a87ee5b1942d24e1d7a20502c79d36218929fe (patch) | |
tree | 68219f29d940a1eae531e4cedde40e87aab57389 /src | |
parent | 2db32e10f3e1e5aedb80703104fae838acfcf696 (diff) | |
download | mongo-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.cpp | 2 |
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) { |