diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-10-10 13:37:49 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-10-11 17:15:33 -0400 |
commit | 7e93e7dee9e5a12724740c942aba031861dd54fe (patch) | |
tree | 0344c6c0e3dfdbb8e0e1585bb1a956c7859b2e3a /src/mongo/dbtests/framework.cpp | |
parent | 8124910091c4962c946e9834eebc542fe93991a7 (diff) | |
download | mongo-7e93e7dee9e5a12724740c942aba031861dd54fe.tar.gz |
SERVER-14425 Cleanup LockerImpl
* Remove unused methods
* Make references to the lock manager to go directly through the instance
* Add comments
Diffstat (limited to 'src/mongo/dbtests/framework.cpp')
-rw-r--r-- | src/mongo/dbtests/framework.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/framework.cpp b/src/mongo/dbtests/framework.cpp index 5c3f37421e8..800647cdea6 100644 --- a/src/mongo/dbtests/framework.cpp +++ b/src/mongo/dbtests/framework.cpp @@ -94,9 +94,9 @@ namespace mongo { } else if (minutesRunning > 1){ warning() << currentTestName << " has been running for more than " << minutesRunning-1 << " minutes." << endl; - + // See what is stuck - LockerImpl::dumpGlobalLockManager(); + getGlobalLockManager()->dump(); } } } |